Changeset - 99e0a36a57fc
[Not reviewed]
0 1 0
x - 14 hours ago 2025-08-23 02:25:21
xbr@c3l.lu
fix: broken test on variable in build.sh
1 file changed with 3 insertions and 3 deletions:
0 comments (0 inline, 0 general)
build_script/build.sh
Show inline comments
 
@@ -68,43 +68,43 @@ case $1 in
 
        exit 1
 
        ;;
 
esac
 

	
 
pushd $GLUON_DIR
 

	
 
if [ -d $GLUON_DIR/output/images ]; then
 
    echo "Error: output images directory contains images. Please remove them before building."
 
    echo "Delete `gluon/output/images` directory and try again."
 
    exit 1
 
fi
 

	
 
set_site_directory() {
 
    echo "Linking $1"
 
}
 

	
 
build() {
 
    echo "Building images"
 
}
 

	
 
move_output_images() {
 
    echo "Moving output images to output-images-$1"
 
}
 

	
 
if [ -n $BUILD_EXPERIMENTAL ]; then
 
if [ -n "$BUILD_EXPERIMENTAL" ]; then
 
    set_site_directory $EXPERIMENTAL_SITE
 
    build
 
    move_output_images experimental
 
fi
 

	
 
if [ -n $BUILD_BETA ]; then
 
if [ -n "$BUILD_BETA" ]; then
 
    set_site_directory $BETA_SITE
 
    build
 
    move_output_images beta
 
fi
 

	
 
if [ -n $BUILD_STABLE ]; then
 
if [ -n "$BUILD_STABLE" ]; then
 
    set_site_directory $STABLE_SITE
 
    build
 
    move_output_images stable
 
fi
 

	
 
popd
 
\ No newline at end of file
0 comments (0 inline, 0 general)