fix the IFS trick. the bashims removal broke that part

This commit is contained in:
Norbert Thiebaud 2010-12-01 18:22:32 -06:00
parent fe6ed1e8bf
commit 19ef1eb7a7

View file

@ -54,7 +54,8 @@ distro_name=$(distro "$@")
if test "z${distro_name}" != "z" ; then
cumul=""
if test -f "./distro-configs/${distro_name}.conf" ; then
IFS="$(printf '\n')"
IFS=$'
'
for opt in $(cat distro-configs/${distro_name}.conf) ; do cumul="$cumul $opt" ; done ;
unset IFS
conf_args=$(requote "$@" | sed -e "s/'--with-distro=[^']*'/$cumul/")