[Libreoffice-commits] .: Branch 'feature/layout' - solenv/bin

Michael Meeks mmeeks at kemper.freedesktop.org
Thu Dec 16 10:16:33 PST 2010


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

New commits:
commit ec64258d8ce6d8e5aaa5d51a4923cc24e122e014
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 43c0188..7fc5748 100755
--- a/solenv/bin/build.pl
+++ b/solenv/bin/build.pl
@@ -1687,6 +1687,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";
@@ -1694,8 +1695,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