[Libreoffice-commits] .: set_soenv.in
François Tigeot
ftigeot at kemper.freedesktop.org
Wed Jan 25 10:12:28 PST 2012
set_soenv.in | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit a79889083b25d69ae6b801ed8cee90b5dd9199c4
Author: François Tigeot <ftigeot at wolfpond.org>
Date: Wed Jan 25 18:50:35 2012 +0100
Ensure Env.Host.sh always return a zero exit code
* On some NetBSD systems, the last unset command returns a
non-zero exit code
* This made the make(1) processes terminate immediately in
source-env-and-recurse, breaking the build.
Reported by: Thomas Klausner <wiz at NetBSD.org>
diff --git a/set_soenv.in b/set_soenv.in
index 53b388f..704378d 100755
--- a/set_soenv.in
+++ b/set_soenv.in
@@ -1102,6 +1102,9 @@ ToFile( "ENV_SCRIPT", "$outfile", "e" );
#
print OUT "export $exportvars$newline";
print OUT "unset $unsetvars$newline";
+# unset may return a non-zero value and make the initial
+# make(1) processes terminate with an error
+print OUT "true $newline";
#
#---------------------------
More information about the Libreoffice-commits
mailing list