[Libreoffice-commits] .: solenv/bin

Michael Meeks mmeeks at kemper.freedesktop.org
Thu Dec 16 07:20:24 PST 2010


 solenv/bin/build.pl |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit e4b8e50456f6ce2cf9886f88ab673a25dcc7c1ad
Author: Michael Meeks <michael.meeks at novell.com>
Date:   Thu Dec 16 15:19:44 2010 +0000

    add command to clean a modules' output on error.

diff --git a/solenv/bin/build.pl b/solenv/bin/build.pl
index a5f4fb9..51bb46f 100755
--- a/solenv/bin/build.pl
+++ b/solenv/bin/build.pl
@@ -1699,6 +1699,7 @@ sub cancel_build {
     }
     print "-----------------------------------------------------------------------\n";
     print "\n";
+    print "rm -Rf " . $ENV{'SRC_ROOT'} . "/$module/" . $ENV{'INPATH'} . " # optional module 'clean'\n";
     print "" . $ENV{'OOO_SHELL'} . "\n";
     print "cd " . $ENV{'SRC_ROOT'} . "\n";
     print "source ./" . $ENV{'ENV_SCRIPT'} . "\n";
@@ -1706,8 +1707,6 @@ sub cancel_build {
     print "build\n";
     print "\n";
     print "when the problem is isolated and fixed exit and re-run 'make' from the top-level\n";
-    print "sometimes (sadly) it is necessary to rm -Rf " . $ENV{INPATH} . " in a module.\n";
-
     zenity_message("LibreOffice Build Failed!");
     zenity_close();
 


More information about the Libreoffice-commits mailing list