Explorar el Código

no need to set GLUON_RELEASE and GLUON_BRANCH for each target

Karsten Böddeker hace 6 años
padre
commit
f3fa32d4bd
Se han modificado 1 ficheros con 3 adiciones y 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."