From 1a7f6a974d8d87d88a58e691377b3e3634a59c91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Igor=20Pe=C4=8Dovnik?= Date: Mon, 14 Dec 2015 19:50:14 +0100 Subject: [PATCH] Revision is read from configuration so version must be set after loading the script. --- main.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/main.sh b/main.sh index 2aa38295f..6df4241f1 100644 --- a/main.sh +++ b/main.sh @@ -175,10 +175,6 @@ if [[ "$RELEASE" == "precise" || "$RELEASE" == "trusty" ]]; then DISTRIBUTION="U # set hostname to the board HOST="$BOARD" -# The name of the job -VERSION="Armbian $REVISION ${BOARD^} $DISTRIBUTION $RELEASE $BRANCH" -echo `date +"%d.%m.%Y %H:%M:%S"` $VERSION > $DEST/debug/install.log - # Load libraries source $SRC/lib/configuration.sh # Board configuration source $SRC/lib/debootstrap.sh # System specific install @@ -189,6 +185,10 @@ source $SRC/lib/desktop.sh # Desktop specific install source $SRC/lib/common.sh # Functions source $SRC/lib/makeboarddeb.sh # Create board support package +# The name of the job +VERSION="Armbian $REVISION ${BOARD^} $DISTRIBUTION $RELEASE $BRANCH" +echo `date +"%d.%m.%Y %H:%M:%S"` $VERSION > $DEST/debug/install.log + # needed if process failed in the middle umount_image