Apache OpenOffice (AOO) Bugzilla – Issue 11140
OOO_STABLE_1_PORTS/X11: soffice.sh needs to quote pathnames
Last modified: 2004-02-27 13:06:07 UTC
If a user installs OOo 1.0.1 into a path that contains shell special characters, such as spaces (e.g. "/Applications/OOo Final Beta/OpenOffice.org1.0.1"), then attempts to run "spadmin", the "soffice.sh" script will fail with the following type of errors : ls: /Applications/OOo: No such file or directory ls: Beta/OpenOffice.org1.0.1/program/spadmin: No such file or directory ls: Final: No such file or directory This is because "soffice.sh" doesn't correctly quote parameters being passed to it. Although discovered in Mac OS X (where users are more likely to have paths with spaces in them), this bug likely occurs on other platforms. The fix is to simply quote the $0 parameter in the offending line(s) of "soffice.sh".
Created attachment 4538 [details] cd to SRC_ROOT/sysui, patch -p0 < /path/to/patchfile, rebuild sysui
Since I now have the privileges, I get to change status on my own bug <grin>. Added oooqa keyword. Ed fixed this in the Mac OS X specific version of "soffice", but it probably should be fixed in CVS.
It seems this has been fixed in the current OOo 1.1.1 (cws_fix645_ooo111fix2 at least), although for some reason, the soffice.sh file no longer has any CVS keywords in it, so I can't easily tell who fixed the problem, and when. I will change the resolution to fixed, but someone else might want to confirm with the final OOo 1.1.1 version before closing.
close issue