diff --git a/compile.sh b/compile.sh index 04c5332fee..1f72ba823f 100755 --- a/compile.sh +++ b/compile.sh @@ -53,9 +53,6 @@ if [[ ! -f $SRC/.ignore_changes ]]; then fi fi -# daily beta build contains date in subrevision -if [[ $BETA == yes && -z $SUBREVISION ]]; then SUBREVISION="."$(date --date="tomorrow" +"%y%m%d"); fi - if [[ $BUILD_ALL == yes || $BUILD_ALL == demo ]]; then source $SRC/lib/build-all.sh else diff --git a/lib/configuration.sh b/lib/configuration.sh index 730c180e95..4033c659b0 100644 --- a/lib/configuration.sh +++ b/lib/configuration.sh @@ -9,7 +9,7 @@ # common options # daily beta build contains date in subrevision -[[ $BETA == yes ]] && SUBREVISION="."$(date --date="tomorrow" +"%y%m%d") +if [[ $BETA == yes && -z $SUBREVISION ]]; then SUBREVISION="."$(date --date="tomorrow" +"%y%m%d"); fi REVISION="5.32$SUBREVISION" # all boards have same revision ROOTPWD="1234" # Must be changed @first login MAINTAINER="Igor Pecovnik" # deb signature