Allowing to use comments in config/environment.{binary,chroot}.
This commit is contained in:
parent
7ce43cfc16
commit
75a671efca
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue