Permalink
Browse files

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
  • Loading branch information...
1 parent 023206f commit 040dcb5995f5622e8a82b93fdffc2f919e7e6dc4 @kalikiana kalikiana committed with veillard May 10, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 configure.in
View
@@ -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

0 comments on commit 040dcb5

Please sign in to comment.