summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2009-11-19 13:12:25 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:17:02 +0100
commit783088bf04dc2cb141a1e8d03914b4545c475c3c (patch)
tree33e5c5b3a2626bca58029bdff7049517a3a15e7e
parent6b1d9f2ab858be811bff09908ca75fb786a7780c (diff)
downloadlive-build-783088bf04dc2cb141a1e8d03914b4545c475c3c.zip
live-build-783088bf04dc2cb141a1e8d03914b4545c475c3c.tar.gz
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 b347a6b..4c30895 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}" ]