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



commit 3ca2123f9bd4c6a553f514f883cdbbcf280bff93
Author: Andreas J. Guelzow <aguelzow pyrshep ca>
Date:   Tue Nov 17 12:30:19 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 1274eb3..8f6c562 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-13  Jean Brefort  <jean brefort normalesup org>
 
 	* goffice/canvas/goc-item.c (goc_item_bounds_changed): make sure that the
diff --git a/autogen.sh b/autogen.sh
index e0474c8..ce18a31 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -45,7 +45,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]