[ooo-build-commit] download.in
Jan Holesovsky
kendy at kemper.freedesktop.org
Wed Jun 10 00:58:08 PDT 2009
download.in | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit 1da7b72e6d65b1083e6b044ce45d8e2c5451af22
Author: Jan Holesovsky <kendy at suse.cz>
Date: Tue Jun 2 16:02:40 2009 +0200
Be more verbose with git when cloning/fetching.
* download.in: Write that 'cloning' or 'updating'.
diff --git a/download.in b/download.in
index b2bdfe7..0df66b4 100755
--- a/download.in
+++ b/download.in
@@ -150,6 +150,10 @@ sub source_file($)
my $tag = '@CVSTAG@';
if ( '@OOO_GIT@' ne "" ) {
+ $op = "cloning";
+ $op = "updating" if ( -d "@SRCDIR@/clone/$what" );
+ print "* $op from @OOO_GIT@/$what";
+
system( "cd @SRCDIR@/clone ; if [ -d $what ] ; then cd $what ; git fetch -t origin ; else git clone -n @OOO_GIT@/$what ; fi" );
}
elsif ( '@UPSTREAM_SOURCE@' eq "YES" ) {
More information about the ooo-build-commit
mailing list