[ooo-build-commit] .: configure.in

Miklos Vajna vmiklos at kemper.freedesktop.org
Fri Aug 27 04:16:53 PDT 2010


 configure.in |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit c4068e967427917cddd1d6583557b0ce8506cc48
Author: Miklos Vajna <vmiklos at frugalware.org>
Date:   Fri Aug 27 02:20:01 2010 +0200

    configure: don't use git remote show
    
    Its output is not guaranteed to be stable, use git config instead.

diff --git a/configure.in b/configure.in
index 759e14b..e30ce36 100644
--- a/configure.in
+++ b/configure.in
@@ -1583,7 +1583,7 @@ else
     if test "$with_git" != "yes" ; then
         OOO_GIT="$with_git"
     else
-        guess=`git remote show -n origin | grep 'Fetch URL: ' | sed -e 's/^.*Fetch URL: //' -e 's#/ooo-build$##'`
+        guess=`git config remote.origin.url | sed 's#/ooo-build$##'`
         if test -n "$guess" ; then
             OOO_GIT="$guess"
         fi


More information about the ooo-build-commit mailing list