[Qa-jenkins-scm] [jenkins.debian.net] 01/03: reproducible_lede: openwrt_get_banner(): use locals instead of globals

Holger Levsen holger at layer-acht.org
Fri Nov 3 17:50:44 UTC 2017


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 02fb715138a0fe96bcd2a71a1754ed123b499370
Author: Alexander Couzens <lynxis at fe80.eu>
Date:   Fri Nov 3 18:13:38 2017 +0100

    reproducible_lede: openwrt_get_banner(): use locals instead of globals
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 bin/reproducible_lede_common.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/reproducible_lede_common.sh b/bin/reproducible_lede_common.sh
index e71494c..fbe585c 100644
--- a/bin/reproducible_lede_common.sh
+++ b/bin/reproducible_lede_common.sh
@@ -344,8 +344,8 @@ openwrt_download() {
 }
 
 openwrt_get_banner() {
-	TMPDIR=$1
-	TYPE=$2
+	local TMPDIR=$1
+	local TYPE=$2
 	cd $TMPDIR/build/source
 	echo "===bannerbegin==="
 	find staging_dir/ -name banner | grep etc/banner|head -1| xargs cat /dev/null

-- 
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