1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2026-01-28 10:01:00 +03:00

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
This commit is contained in:
Christian Dywan
2012-05-10 22:55:07 +08:00
committed by Daniel Veillard
parent 023206fc08
commit 040dcb5995

View File

@@ -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