summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2010-12-01 18:22:32 -0600
committerNorbert Thiebaud <nthiebaud@gmail.com>2010-12-01 18:22:32 -0600
commit19ef1eb7a79eeace219570dfb6c38ab2d2906e3e (patch)
treee7dd781e2121ac9a0be1a2881f6160d512db8908 /autogen.sh
parentfe6ed1e8bf1cb3762eaa7e2cd28f9dd7cb06f8e6 (diff)
fix the IFS trick. the bashims removal broke that part
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh3
1 files changed, 2 insertions, 1 deletions
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/")