summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLyndon Brown <jnqnfe@gmail.com>2020-03-28 14:41:24 +0000
committerRaphaƫl Hertzog <hertzog@debian.org>2020-04-23 15:47:00 +0200
commitba052474382867ffe303567df902d66d426f9dce (patch)
tree77f239649250a2be5b306cee9902509d11452fea
parent3d2b280c8f44fe8b5fe52fdd0622f4e044ca98da (diff)
downloadvyos-live-build-ba052474382867ffe303567df902d66d426f9dce.tar.gz
vyos-live-build-ba052474382867ffe303567df902d66d426f9dce.zip
chroot: make var local
Gbp-Dch: Short
-rwxr-xr-xfunctions/chroot.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions/chroot.sh b/functions/chroot.sh
index 5658807e3..76733e50e 100755
--- a/functions/chroot.sh
+++ b/functions/chroot.sh
@@ -18,7 +18,7 @@ Chroot ()
# Executing commands in chroot
Echo_debug "Executing: %s" "${COMMANDS}"
- ENV=""
+ local ENV=""
local _FILE
for _FILE in config/environment config/environment.chroot