diff --git a/compile.sh b/compile.sh index ddc6bab9e..5654b2a28 100755 --- a/compile.sh +++ b/compile.sh @@ -54,7 +54,7 @@ if [[ ! -f $SRC/.ignore_changes ]]; then fi # daily beta build contains date in subrevision -if [[ $BETA == yes ]]; then SUBREVISION="."$(date --date="tomorrow" +"%y%m%d"); fi +if [[ $BETA == yes && -n $SUBREVISION ]]; then SUBREVISION="."$(date --date="tomorrow" +"%y%m%d"); fi if [[ $BUILD_ALL == yes || $BUILD_ALL == demo ]]; then source $SRC/lib/build-all.sh