diff options
author | Daniel Baumann <daniel@debian.org> | 2012-05-31 13:16:19 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2012-05-31 13:16:19 +0200 |
commit | 75a671efca00bbce69ac2791d7c574c0c2591058 (patch) | |
tree | 1f7f9a7543850fb3080304e01d8ee8614a56651d | |
parent | 7ce43cfc16a44cd1cf2cc8ca023bbc771c26dead (diff) | |
download | vyos-live-build-75a671efca00bbce69ac2791d7c574c0c2591058.tar.gz vyos-live-build-75a671efca00bbce69ac2791d7c574c0c2591058.zip |
Allowing to use comments in config/environment.{binary,chroot}.
-rwxr-xr-x | functions/chroot.sh | 2 | ||||
-rwxr-xr-x | scripts/build/lb | 2 |
2 files changed, 2 insertions, 2 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 diff --git a/scripts/build/lb b/scripts/build/lb index ee8bad07b..7f2156b15 100755 --- a/scripts/build/lb +++ b/scripts/build/lb @@ -44,7 +44,7 @@ case "${1}" in if [ -e config/environment.binary ] then - ENV="$(cat config/environment.binary)" + ENV="$(grep -v '^#' config/environment.binary)" else ENV="" fi |