]> git.stg.codes - stg.git/blobdiff - projects/sgconf/build
Settings object is now allocated on stack, no need to delete it.
[stg.git] / projects / sgconf / build
index 8431474d522d9ecfc3e4a64fb63c91c3eca203be..91be27281a9f8fce04b43dd50a21c04f2a206238 100755 (executable)
@@ -200,5 +200,9 @@ printf "DATA_MODE=$DATA_MODE\n" >> $CONFFILE
 printf "DIR_MODE=$DIR_MODE\n" >> $CONFFILE
 printf "OWNER=$OWNER\n" >> $CONFFILE
 
 printf "DIR_MODE=$DIR_MODE\n" >> $CONFFILE
 printf "OWNER=$OWNER\n" >> $CONFFILE
 
-$MAKE $MAKEOPTS
-
+if [ "$1" != "debug" ]
+then
+    $MAKE $MAKEOPTS
+else
+    printf "\n\n\nDebug build. Type $MAKE explicitly\n"
+fi