[gnumeric] autogen.sh: allow dirs on PATH to have spaces withou causing warning



commit 2be5c0a3b2b49d4f46e258d3a43344ab9543ec55
Author: Andreas J. Guelzow <aguelzow pyrshep ca>
Date:   Tue Nov 17 12:34:59 2009 -0700

    autogen.sh: allow dirs on PATH to have spaces withou causing warning

 ChangeLog  |    4 ++++
 autogen.sh |    2 +-
 2 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 8281c04..2a627f1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-11-17  Andreas J. Guelzow <aguelzow pyrshep ca>
+
+	* autogen.sh: allow dirs on PATH to have spaces withou causing warning
+
 2009-11-16  Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* src/wbc-gtk.c (wbcg_update_title): be consistent with most other 
diff --git a/autogen.sh b/autogen.sh
index 4072043..1c9950a 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -31,7 +31,7 @@ ifs_save="$IFS"; IFS=":"
 for dir in $PATH ; do
   IFS="$ifs_save"
   test -z "$dir" && dir=.
-  if test -f $dir/gnome-autogen.sh ; then
+  if test -f "$dir/gnome-autogen.sh" ; then
     gnome_autogen="$dir/gnome-autogen.sh"
     gnome_datadir=`echo $dir | sed -e 's,/bin$,/share,'`
     break



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]