Ver código fonte

no need to set GLUON_RELEASE and GLUON_BRANCH for each target

Karsten Böddeker 6 anos atrás
pai
commit
f3fa32d4bd
1 arquivos alterados com 3 adições e 2 exclusões
  1. 3 2
      build.sh

+ 3 - 2
build.sh

@@ -219,11 +219,12 @@ fi
 progress "Building the firmware - please stand by!"
 pushd ${CODE_DIR} > /dev/null
 
+export GLUON_RELEASE="${VERSION}"
+[ "${AUTOUPDATER}" != "off" ] && export GLUON_BRANCH="${AUTOUPDATER}"
+
 for target in ${TARGETS} ; do
 	# configure build environment for our current target
 	export GLUON_TARGET="${target}"
-	export GLUON_RELEASE="${VERSION}"
-	[ "${AUTOUPDATER}" != "off" ] && export GLUON_BRANCH="${AUTOUPDATER}"
 
 	# prepare build environment for our current target
 	progress "${target}: Preparing build environment."