From 040dcb5995f5622e8a82b93fdffc2f919e7e6dc4 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Thu, 10 May 2012 22:55:07 +0800 Subject: [PATCH] Remove git error message during configure For https://bugzilla.gnome.org/show_bug.cgi?id=635531 If git is not installed but .git was found configure would emit an error message --- configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.in b/configure.in index 38552a7bc..ada25cd29 100644 --- a/configure.in +++ b/configure.in @@ -29,7 +29,7 @@ else if test -d .svn ; then LIBXML_VERSION_EXTRA="-SVN$extra" fi else if test -d .git ; then - extra=`git describe | sed 's+LIBXML[[0-9.]]*-++'` + extra=`git describe 2>/dev/null | sed 's+LIBXML[[0-9.]]*-++'` echo extra=$extra if test "$extra" != "" then