From 19ef1eb7a79eeace219570dfb6c38ab2d2906e3e Mon Sep 17 00:00:00 2001 From: Norbert Thiebaud Date: Wed, 1 Dec 2010 18:22:32 -0600 Subject: fix the IFS trick. the bashims removal broke that part --- autogen.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'autogen.sh') diff --git a/autogen.sh b/autogen.sh index a4135da723eb..292b32d934a7 100755 --- a/autogen.sh +++ b/autogen.sh @@ -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/") -- cgit