summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2009-11-19 13:12:25 +0100
committerDaniel Baumann <daniel@debian.org>2009-11-22 14:45:48 +0100
commita8f08583dc654ec1d309ed3da91a319078bc6054 (patch)
tree33e5c5b3a2626bca58029bdff7049517a3a15e7e
parentefe442f24a46fb1435db5ee5b00ef553c3121007 (diff)
downloadvyos-live-build-a8f08583dc654ec1d309ed3da91a319078bc6054.tar.gz
vyos-live-build-a8f08583dc654ec1d309ed3da91a319078bc6054.zip
Replacing sed 4.2 command to assemble debootstraps components option with a less advanced one, in order to work on legacy distributions.
-rwxr-xr-xhelpers/lh_bootstrap_debootstrap2
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers/lh_bootstrap_debootstrap b/helpers/lh_bootstrap_debootstrap
index b347a6b92..4c3089561 100755
--- a/helpers/lh_bootstrap_debootstrap
+++ b/helpers/lh_bootstrap_debootstrap
@@ -60,7 +60,7 @@ fi
if [ "${LH_ARCHIVE_AREAS}" != "main" ]
then
# Modify archive areas to remove leading/trailing whitespaces and replace other whitepspace with commas
- DEBOOTSTRAP_OPTIONS="${DEBOOTSTRAP_OPTIONS} --components $(echo ${LH_ARCHIVE_AREAS} | sed -E -e 's/^[ \t]*//;s/[ \t]*$//' -e 's/[ \t]+/,/g')"
+ DEBOOTSTRAP_OPTIONS="${DEBOOTSTRAP_OPTIONS} --components $(echo ${LH_ARCHIVE_AREAS} | sed -e 's| |,|g')"
fi
if [ -n "${LH_BOOTSTRAP_CONFIG}" ]