From 02fb715138a0fe96bcd2a71a1754ed123b499370 Mon Sep 17 00:00:00 2001 From: Alexander Couzens Date: Fri, 3 Nov 2017 18:13:38 +0100 Subject: reproducible_lede: openwrt_get_banner(): use locals instead of globals Signed-off-by: Holger Levsen --- bin/reproducible_lede_common.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/reproducible_lede_common.sh') diff --git a/bin/reproducible_lede_common.sh b/bin/reproducible_lede_common.sh index e71494cf..fbe585c5 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 -- cgit v1.2.3-54-g00ecf