summaryrefslogtreecommitdiff
path: root/build_posix
diff options
context:
space:
mode:
authorMichael Cahill <michael.cahill@wiredtiger.com>2013-07-09 15:00:56 +1000
committerMichael Cahill <michael.cahill@wiredtiger.com>2013-07-09 15:00:56 +1000
commitbc32645c8fa7b68b83af49b14c2c8bc3419c959e (patch)
tree7ecff80319928b311a0448e90b7d65e142e1ffe2 /build_posix
parent77c7fbdf9bda9117d0ad58e091609f05ba2c928a (diff)
downloadmongo-bc32645c8fa7b68b83af49b14c2c8bc3419c959e.tar.gz
Insulate scripts from user settings of IFS.
Diffstat (limited to 'build_posix')
-rwxr-xr-xbuild_posix/makemake4
-rwxr-xr-xbuild_posix/reconf4
2 files changed, 8 insertions, 0 deletions
diff --git a/build_posix/makemake b/build_posix/makemake
index 44d5571e279..ef945ca559a 100755
--- a/build_posix/makemake
+++ b/build_posix/makemake
@@ -2,6 +2,10 @@
#
# Build Makefile.am
+# We use read, make sure spaces separate input fields
+unset IFS
+export IFS
+
# Process Make.base, insert subdirs that exist from Make.subdirs
# (in release trees, some of the subdirs might be excluded).
(sed -n '1,/BEGIN SUBDIRS/p' Make.base
diff --git a/build_posix/reconf b/build_posix/reconf
index 65d6c732315..497c71a61ee 100755
--- a/build_posix/reconf
+++ b/build_posix/reconf
@@ -6,6 +6,10 @@ trap 'rm -f $t; exit 0' 0 1 2 3 13 15
# Allow this script to be run from anywhere
cd "`dirname \"$0\"`"
+# We use read, make sure spaces separate input fields
+unset IFS
+export IFS
+
# There's a cleanup function so we can easily clean out the directory.
clean()
{