]> git.stg.codes - stg.git/blobdiff - projects/sgauth/build
Don't build projects in debug mode.
[stg.git] / projects / sgauth / build
index 0628676ae11192f7602edbd7e81d84014684e07b..e7c4be9b0e745c68d97ba8b5df29e84618888a2a 100755 (executable)
@@ -182,5 +182,10 @@ printf "BIN_MODE=$BIN_MODE\n" >> $CONFFILE
 printf "DATA_MODE=$DATA_MODE\n" >> $CONFFILE
 printf "DIR_MODE=$DIR_MODE\n" >> $CONFFILE
 printf "OWNER=$OWNER\n" >> $CONFFILE
 printf "DATA_MODE=$DATA_MODE\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