summaryrefslogtreecommitdiff
path: root/helpers/lh_bootstrap_cdebootstrap
diff options
context:
space:
mode:
authorChris Lamb <chris@chris-lamb.co.uk>2008-07-10 00:24:07 +0100
committerChris Lamb <chris@chris-lamb.co.uk>2008-07-10 00:24:07 +0100
commit78d346e90c7d9e1bdf8677af1724215bb01b498a (patch)
treebc6beded6d0739735587f5f38f58f1e6b2f199a0 /helpers/lh_bootstrap_cdebootstrap
parente0160b3eaf892ee4593ceb3f8206166a4dfa755c (diff)
downloadvyos-live-build-78d346e90c7d9e1bdf8677af1724215bb01b498a.tar.gz
vyos-live-build-78d346e90c7d9e1bdf8677af1724215bb01b498a.zip
Replace spaces in LH_BOOTSTRAP_{IN,EX}CLUDE variables with commas on use. Thanks to Cyril Brulebois <cyril.brulebois@kerlabs.com>. (Closes: #490114)
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
Diffstat (limited to 'helpers/lh_bootstrap_cdebootstrap')
-rwxr-xr-xhelpers/lh_bootstrap_cdebootstrap4
1 files changed, 2 insertions, 2 deletions
diff --git a/helpers/lh_bootstrap_cdebootstrap b/helpers/lh_bootstrap_cdebootstrap
index df006e3ce..61683dde0 100755
--- a/helpers/lh_bootstrap_cdebootstrap
+++ b/helpers/lh_bootstrap_cdebootstrap
@@ -69,12 +69,12 @@ fi
if [ -n "${LH_BOOTSTRAP_INCLUDE}" ]
then
- CDEBOOTSTRAP_OPTIONS="${CDEBOOTSTRAP_OPTIONS} --include=${LH_BOOTSTRAP_INCLUDE}"
+ CDEBOOTSTRAP_OPTIONS="${CDEBOOTSTRAP_OPTIONS} --include=$(echo ${LH_BOOTSTRAP_INCLUDE} | sed 's| *|,|g')"
fi
if [ -n "${LH_BOOTSTRAP_EXCLUDE}" ]
then
- CDEBOOTSTRAP_OPTIONS="${CDEBOOTSTRAP_OPTIONS} --exclude=${LH_BOOTSTRAP_EXCLUDE}"
+ CDEBOOTSTRAP_OPTIONS="${CDEBOOTSTRAP_OPTIONS} --exclude=$(echo ${LH_BOOTSTRAP_EXCLUDE} | sed 's| *|,|g')"
fi
if [ -n "${LH_BOOTSTRAP_KEYRING}" ]