[Libreoffice-commits] .: download.in

Jan Holesovsky kendy at kemper.freedesktop.org
Mon Dec 6 09:29:55 PST 2010


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

New commits:
commit c2605fd1e04cf8a1ea4b9a8830275173c80b6823
Author: Jan Holesovsky <kendy at suse.cz>
Date:   Mon Dec 6 18:29:11 2010 +0100

    download.in: Fix bootstrapping bootstrap ;-)

diff --git a/download.in b/download.in
index 539da8a..8387fe4 100755
--- a/download.in
+++ b/download.in
@@ -271,13 +271,13 @@ sub source_file_bootstrap
 	if ( -d '@OOO_GIT@' . "/bootstrap" )
 	{
 	    print "* mkworkdir from " . '@OOO_GIT@' . "/bootstrap\n";
-	    system( "@OOO_GIT@/bootstrap/bin/mkworkdir -d . --as bootstrap") || die "error make a workdir set";
+	    ( system( "@OOO_GIT@/bootstrap/bin/mkworkdir -d . --as bootstrap") == 0 ) || die "error make a workdir set";
 	}
 	else
 	{
 	    print "* cloning from " . '@OOO_GIT@' . "/bootstrap\n";
-	    system( "git clone " . '@OOO_GIT@' . "/bootstrap " ) || die "error cloning bootstrap";
-	    system( "@RAWBUILDDIR@/g clone" ) || die "error cloning the repos";
+	    ( system( "git clone " . '@OOO_GIT@' . "/bootstrap " ) == 0 ) || die "error cloning bootstrap";
+	    ( system( "@RAWBUILDDIR@/g clone" ) == 0 ) || die "error cloning the repos";
 	}
     }
 }


More information about the Libreoffice-commits mailing list