From a9b4e9a9a44fbb2cc32e4aa3239faf23d7836c92 Mon Sep 17 00:00:00 2001 From: Igor Pecovnik Date: Wed, 2 Aug 2017 23:51:43 +0200 Subject: [PATCH] Properly solved handling subrevisions --- compile.sh | 3 --- lib/configuration.sh | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) 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