Allow overriding SUBREVISION in config

This commit is contained in:
Igor Pecovnik
2017-08-02 19:30:37 +02:00
parent ef49fbe6b1
commit a1154106c1

View File

@@ -54,7 +54,7 @@ if [[ ! -f $SRC/.ignore_changes ]]; then
fi fi
# daily beta build contains date in subrevision # 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 if [[ $BUILD_ALL == yes || $BUILD_ALL == demo ]]; then
source $SRC/lib/build-all.sh source $SRC/lib/build-all.sh