Fix quoting for git program check
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sat, 3 Nov 2012 15:30:51 +0000 (15:30 +0000)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sat, 3 Nov 2012 15:30:51 +0000 (15:30 +0000)
configure
configure.in

index 9cad2cd..1b4b1e2 100755 (executable)
--- a/configure
+++ b/configure
@@ -17975,7 +17975,7 @@ if test "x$developer" = "xyes"; then
 $as_echo "yes.  Using $devflags" >&6; }
   fi
 
-    if test $GIT = yes; then
+    if test "x$GIT" = "xyes"; then
        RADIUSD_VERSION_COMMIT=`git log --pretty=format:'%h' -n 1`
   fi
 else
index 89fbc6e..d878714 100644 (file)
@@ -987,7 +987,7 @@ if test "x$developer" = "xyes"; then
   fi
   
   dnl append the current git hash onto the version string
-  if test $GIT = yes; then
+  if test "x$GIT" = "xyes"; then
        RADIUSD_VERSION_COMMIT=`git log --pretty=format:'%h' -n 1`
   fi
 else