summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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"