[SCM] live-helper branch, debian, updated. debian/2.0_a1-1-7-g52ba12a

Daniel Baumann daniel at debian.org
Thu Nov 19 12:14:43 UTC 2009


The following commit has been merged in the debian branch:
commit 52ba12aaefbb48cfe0d13ecff498d7741329ca31
Author: Daniel Baumann <daniel at debian.org>
Date:   Thu Nov 19 13:12:25 2009 +0100

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

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

-- 
live-helper



More information about the debian-live-changes mailing list