]> git.notmuchmail.org Git - notmuch/commitdiff
config: add quoting to fix IFS bug
authorJameson Graef Rollins <jrollins@finestructure.net>
Sat, 2 Jun 2012 18:16:01 +0000 (11:16 -0700)
committerDavid Bremner <bremner@debian.org>
Sun, 3 Jun 2012 16:26:44 +0000 (13:26 -0300)
Without proper quoting the DEFAULT_IFS was getting set incorrectly,
which was causing problems with the storage of some variables later in
the script.  Quoting fixes the problem.

configure

index 5602be247611558fdb1cc1f743e0ac3cf9239a82..3fad424c4b7c9602b0048ee76fbdef918cbabe6a 100755 (executable)
--- a/configure
+++ b/configure
@@ -1,7 +1,7 @@
 #! /bin/sh
 
 # Store original IFS value so it can be changed (and restored) in many places.
-readonly DEFAULT_IFS=$IFS
+readonly DEFAULT_IFS="$IFS"
 
 srcdir=$(dirname "$0")