]> granicus.if.org Git - sudo/commitdiff
Older shells don't support IFS= so set explictly to space, tab, newline.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 15 Jul 2010 20:36:02 +0000 (16:36 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 15 Jul 2010 20:36:02 +0000 (16:36 -0400)
--HG--
branch : 1.7

mkpkg

diff --git a/mkpkg b/mkpkg
index 3d20d5a4a92d65324c3004c9794414aae0d7946b..1b83520279e9eaa9079141259e64df2e98c0bfdf 100755 (executable)
--- a/mkpkg
+++ b/mkpkg
@@ -4,7 +4,10 @@
 # Usage: mkpkg
 #
 
-IFS=
+# Make sure IFS is set to space, tab, newline in that order.
+nl='
+'
+IFS="  $nl"
 
 top_srcdir=`dirname $0`
 
@@ -140,8 +143,7 @@ esac
 
 # Remove spaces from IFS when setting $@ so that passprompt may include them
 OIFS="$IFS"
-IFS="  
-"
+IFS="  $nl"
 set -- $configure_opts
 IFS="$OIFS"
 $top_srcdir/configure "$@" || exit 1