From e6d345ae0845d12d5ec07e8fb3a7c7f19e3e5ed1 Mon Sep 17 00:00:00 2001 From: Alexander Couzens Date: Tue, 2 Aug 2016 21:41:55 +0200 Subject: reproducible/openwrt|lede: fix non-local variables within openwrt_compile Signed-off-by: Holger Levsen --- bin/reproducible_openwrt_common.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bin/reproducible_openwrt_common.sh') diff --git a/bin/reproducible_openwrt_common.sh b/bin/reproducible_openwrt_common.sh index ef942a74..7a4a037f 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" -- cgit v1.2.3-54-g00ecf