summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2016-08-02 21:41:55 +0200
committerHolger Levsen <holger@layer-acht.org>2016-08-03 00:35:20 +0200
commite6d345ae0845d12d5ec07e8fb3a7c7f19e3e5ed1 (patch)
tree82efa14ad46d1232b0fb458e3eb2e5fc02178359
parente638768ccac50908d139bf447e17e1b6c432bf00 (diff)
downloadjenkins.debian.net-e6d345ae0845d12d5ec07e8fb3a7c7f19e3e5ed1.tar.xz
reproducible/openwrt|lede: fix non-local variables within openwrt_compile
Signed-off-by: Holger Levsen <holger@layer-acht.org>
-rw-r--r--bin/reproducible_openwrt_common.sh6
1 files changed, 3 insertions, 3 deletions
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"