[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible/openwrt|lede: fix non-local variables within openwrt_compile

Holger Levsen holger at layer-acht.org
Tue Aug 2 22:35:36 UTC 2016


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit e6d345ae0845d12d5ec07e8fb3a7c7f19e3e5ed1
Author: Alexander Couzens <lynxis at fe80.eu>
Date:   Tue Aug 2 21:41:55 2016 +0200

    reproducible/openwrt|lede: fix non-local variables within openwrt_compile
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 bin/reproducible_openwrt_common.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/bin/reproducible_openwrt_common.sh b/bin/reproducible_openwrt_common.sh
index ef942a7..7a4a037 100644
--- a/bin/reproducible_openwrt_common.sh
+++ b/bin/reproducible_openwrt_common.sh
@@ -163,9 +163,9 @@ openwrt_build_toolchain() {
 # RUN - b1 or b2. b1 means first run, b2 second
 # TARGET - a target including subtarget. E.g. ar71xx_generic
 openwrt_compile() {
-	TYPE=$1
-	RUN=$2
-	TARGET=$3
+	local TYPE=$1
+	local RUN=$2
+	local TARGET=$3
 
 	OPTIONS="-j $NUM_CPU IGNORE_ERRORS=ym BUILD_LOG=1"
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list