Date: prev next · Thread: first prev next last
2010 Archives by date, by thread · List index


The attached makes it get much further.
It's probably caused by unset returning an error and that error being
returned outside, so the "&&" chain stops.
So I add an "echo" that can't fail at the end of the script.

Ok to push?
 Thomas
diff --git a/set_soenv.in b/set_soenv.in
index 2c56a4d..26500db 100644
--- a/set_soenv.in
+++ b/set_soenv.in
@@ -2121,6 +2140,9 @@ ToFile( "ENV_SCRIPT", "$outfile", "e" );
 print OUT "export $exportvars$newline";
 print OUT "unset $unsetvars$newline";
 
+# Make sure we exit cleanly
+print OUT "echo";
+
 #
 #---------------------------
 # VIII. Closing output file.

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.