summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2012-05-31 13:16:19 +0200
committerDaniel Baumann <daniel@debian.org>2012-05-31 13:16:19 +0200
commit75a671efca00bbce69ac2791d7c574c0c2591058 (patch)
tree1f7f9a7543850fb3080304e01d8ee8614a56651d /functions
parent7ce43cfc16a44cd1cf2cc8ca023bbc771c26dead (diff)
downloadvyos-live-build-75a671efca00bbce69ac2791d7c574c0c2591058.tar.gz
vyos-live-build-75a671efca00bbce69ac2791d7c574c0c2591058.zip
Allowing to use comments in config/environment.{binary,chroot}.
Diffstat (limited to 'functions')
-rwxr-xr-xfunctions/chroot.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions/chroot.sh b/functions/chroot.sh
index 10b249f9a..198f15f04 100755
--- a/functions/chroot.sh
+++ b/functions/chroot.sh
@@ -18,7 +18,7 @@ Chroot ()
if [ -e config/environment.chroot ]
then
- ENV="$(cat config/environment.chroot)"
+ ENV="$(grep -v '^#' config/environment.chroot)"
else
ENV=""
fi