Replace spaces in LH_BOOTSTRAP_{IN,EX}CLUDE variables with commas on use. Thanks to Cyril Brulebois <cyril.brulebois@kerlabs.com>. (Closes: #490114)

This commit is contained in:
Chris Lamb 2008-07-10 00:24:07 +01:00 committed by Daniel Baumann
parent b6e8bde6d5
commit cb7809fc83
2 changed files with 4 additions and 4 deletions

View File

@ -69,12 +69,12 @@ fi
if [ -n "${LH_BOOTSTRAP_INCLUDE}" ] if [ -n "${LH_BOOTSTRAP_INCLUDE}" ]
then then
CDEBOOTSTRAP_OPTIONS="${CDEBOOTSTRAP_OPTIONS} --include=${LH_BOOTSTRAP_INCLUDE}" CDEBOOTSTRAP_OPTIONS="${CDEBOOTSTRAP_OPTIONS} --include=$(echo ${LH_BOOTSTRAP_INCLUDE} | sed 's| *|,|g')"
fi fi
if [ -n "${LH_BOOTSTRAP_EXCLUDE}" ] if [ -n "${LH_BOOTSTRAP_EXCLUDE}" ]
then then
CDEBOOTSTRAP_OPTIONS="${CDEBOOTSTRAP_OPTIONS} --exclude=${LH_BOOTSTRAP_EXCLUDE}" CDEBOOTSTRAP_OPTIONS="${CDEBOOTSTRAP_OPTIONS} --exclude=$(echo ${LH_BOOTSTRAP_EXCLUDE} | sed 's| *|,|g')"
fi fi
if [ -n "${LH_BOOTSTRAP_KEYRING}" ] if [ -n "${LH_BOOTSTRAP_KEYRING}" ]

View File

@ -74,12 +74,12 @@ fi
if [ -n "${LH_BOOTSTRAP_INCLUDE}" ] if [ -n "${LH_BOOTSTRAP_INCLUDE}" ]
then then
DEBOOTSTRAP_OPTIONS="${DEBOOTSTRAP_OPTIONS} --include=${LH_BOOTSTRAP_INCLUDE}" DEBOOTSTRAP_OPTIONS="${DEBOOTSTRAP_OPTIONS} --include=$(echo ${LH_BOOTSTRAP_INCLUDE} | sed 's| *|,|g')"
fi fi
if [ -n "${LH_BOOTSTRAP_EXCLUDE}" ] if [ -n "${LH_BOOTSTRAP_EXCLUDE}" ]
then then
DEBOOTSTRAP_OPTIONS="${DEBOOTSTRAP_OPTIONS} --exclude=${LH_BOOTSTRAP_EXCLUDE}" DEBOOTSTRAP_OPTIONS="${DEBOOTSTRAP_OPTIONS} --exclude=$(echo ${LH_BOOTSTRAP_EXCLUDE} | sed 's| *|,|g')"
fi fi
if [ "${LH_USE_FAKEROOT}" != "enabled" ] if [ "${LH_USE_FAKEROOT}" != "enabled" ]