[SCM] live-helper branch, old-1.0, updated. b4cd689d65f2b87d4b9690b3352b19ae4a50189d

Daniel Baumann daniel at debian.org
Fri Dec 18 11:14:10 UTC 2009


The following commit has been merged in the old-1.0 branch:
commit 460b0e7fa49cbe6ac70c7ce324017e5a421b6d22
Author: Daniel Baumann <daniel at debian.org>
Date:   Fri Dec 18 09:45:29 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 3f977b5..d9fcdd0 100755
--- a/helpers/lh_bootstrap_debootstrap
+++ b/helpers/lh_bootstrap_debootstrap
@@ -60,7 +60,7 @@ fi
 if [ "${LH_CATEGORIES}" != "main" ]
 then
 	# Modify categories to remove leading/trailing whitespaces and replace other whitepspace with commas
-	DEBOOTSTRAP_OPTIONS="${DEBOOTSTRAP_OPTIONS} --components $(echo ${LH_CATEGORIES} | 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