Blame SOURCES/xmlstarlet-1.6.1-nogit.patch

15c2d5
diff -uNr xmlstarlet-1.6.1-orig/configure.ac xmlstarlet-1.6.1/configure.ac
15c2d5
--- xmlstarlet-1.6.1-orig/configure.ac	2013-12-22 17:00:28.000000000 -0500
15c2d5
+++ xmlstarlet-1.6.1/configure.ac	2014-12-08 17:12:47.836499274 -0500
15c2d5
@@ -1,5 +1,5 @@
15c2d5
 AC_PREREQ([2.62])
15c2d5
-AC_INIT([XMLStarlet], [m4_esyscmd_s([git describe --tags --dirty])],
15c2d5
+AC_INIT([XMLStarlet], [m4_esyscmd_s([if test -d .git ; then git describe --tags --dirty ; fi])],
15c2d5
         [http://sourceforge.net/projects/xmlstar/support],
15c2d5
         [],
15c2d5
         [http://xmlstar.sourceforge.net/])