summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@novell.com>2010-12-16 15:19:44 +0000
committerMichael Meeks <michael.meeks@novell.com>2010-12-16 15:20:44 +0000
commited401d017cf4d1c67dbd9455f54648bd512be023 (patch)
tree0d8a3debc813da1a47cc9a9e8f54c307fe7644e6
parentb72dcccd3994a978bb933fa6ab22a53ed6788ab9 (diff)
add command to clean a modules' output on error.
-rwxr-xr-xsolenv/bin/build.pl3
1 files changed, 1 insertions, 2 deletions
diff --git a/solenv/bin/build.pl b/solenv/bin/build.pl
index 6bde4c2e2db0..0726a00a5ece 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();