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



commit c58eb60325222c96154d92bec3e68c3a262e5d1a
Author: Andreas J. Guelzow <aguelzow pyrshep ca>
Date:   Tue Nov 17 12:37:54 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 a746139..e62c0a9 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-10-29  Morten Welinder  <terra gnome org>
 
 	* gsf/gsf-libxml.c (gsf_xml_probe_element): Fix crash on documents
diff --git a/autogen.sh b/autogen.sh
index b0ba6a0..40e9338 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -26,7 +26,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]