Replacing sed 4.2 command to assemble debootstraps components option with a less advanced one, in order to work on legacy distributions.

This commit is contained in:
Daniel Baumann 2009-11-19 13:12:25 +01:00
parent 6b1d9f2ab8
commit 783088bf04
1 changed files with 1 additions and 1 deletions

View File

@ -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}" ]