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.
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to