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

Jan Holesovsky kendy at kemper.freedesktop.org
Wed Aug 25 11:50:53 PDT 2010


 download.in |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 258e8daea9b5df503acf2552e451fc522a22517e
Author: Jan Holesovsky <kendy at suse.cz>
Date:   Wed Aug 25 20:50:10 2010 +0200

    Fix clone from fd.o when you have specified the username in the URI.

diff --git a/download.in b/download.in
index ad2b427..65266bd 100755
--- a/download.in
+++ b/download.in
@@ -241,10 +241,10 @@ sub source_file_ooo($)
     if ( '@OOO_GIT@' ne "" ) {
         $op = "cloning";
         $op = "updating" if ( -d "@CLONEDIR@/$what" );
-        print "* $op from @OOO_GIT@/$what\n";
+        print "* $op from " . '@OOO_GIT@' . "/$what\n";
 
-        system( "cd @CLONEDIR@ ; if [ -d $what ] ; then cd $what ; git fetch -t origin ; else git clone @OOO_GIT@/$what ; fi" ) && exit 1;
-        system( "cd @CLONEDIR@/$what ; git status | grep 'Your branch is ahead of'" );
+        system( "cd @CLONEDIR@ ; if [ -d $what ] ; then cd $what ; git fetch -t origin ; else git clone " . '@OOO_GIT@' . "/$what ; fi" ) && exit 1;
+        system( "cd @CLONEDIR@/$what ; git status | grep '^# Your branch is'" );
         system( "for file in `cd git-hooks ; echo *`
                  do
 		     cd @CLONEDIR@/$what


More information about the ooo-build-commit mailing list