Explorar o código

no need to set GLUON_RELEASE and GLUON_BRANCH for each target

Karsten Böddeker %!s(int64=6) %!d(string=hai) anos
pai
achega
f3fa32d4bd
Modificáronse 1 ficheiros con 3 adicións e 2 borrados
  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."