diff options
author | Daniel Baumann <daniel@debian.org> | 2009-11-19 13:12:25 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:17:02 +0100 |
commit | 783088bf04dc2cb141a1e8d03914b4545c475c3c (patch) | |
tree | 33e5c5b3a2626bca58029bdff7049517a3a15e7e /helpers/lh_bootstrap_debootstrap | |
parent | 6b1d9f2ab858be811bff09908ca75fb786a7780c (diff) | |
download | vyos-live-build-783088bf04dc2cb141a1e8d03914b4545c475c3c.tar.gz vyos-live-build-783088bf04dc2cb141a1e8d03914b4545c475c3c.zip |
Replacing sed 4.2 command to assemble debootstraps components option with a less advanced one, in order to work on legacy distributions.
Diffstat (limited to 'helpers/lh_bootstrap_debootstrap')
-rwxr-xr-x | helpers/lh_bootstrap_debootstrap | 2 |
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}" ] |