summaryrefslogtreecommitdiff
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
commite293694e23cec47ad9e1e1cff2b7a537ce8d485f (patch)
tree0a664dd418472d000ca6a16cef7303a68a846905
parentadc17d86ff69d016b31a1251ef15978c7ee27634 (diff)
fix the IFS trick. the bashims removal broke that part
-rwxr-xr-xautogen.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh
index c7a11362e..ce60f32ce 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/")