soffice.sh script in m104

Etsushi Kato <[email protected]>
Newsgroups gmane.comp.openoffice.devel.porting
Message-ID <[email protected]>
Ericb, I've also found a minor glitch in soffice.sh script for linuxppc
(680_m104).

IIRC, '==' is extention for bash, and `uname -m` should be quoted
since it returns "Power Macintosh" on Mac OS X.


Index: soffice.sh
===================================================================
RCS file: /cvs/framework/desktop/scripts/soffice.sh,v
retrieving revision 1.16
diff -u -r1.16 soffice.sh
--- soffice.sh  12 May 2005 07:55:53 -0000      1.16
+++ soffice.sh  22 May 2005 09:48:28 -0000
@@ -65,7 +65,7 @@
 export SAL_ENABLE_FILE_LOCKING

 # the following test is needed on Linux PPC with IBM j2sdk142
-if [ `uname -s`=="Linux" -a  `uname -m`=="ppc" ] ; then
+if [ `uname -s` = "Linux" -a  "`uname -m`" = "ppc" ] ; then
     JITC_PROCESSOR_TYPE=6
     export JITC_PROCESSOR_TYPE
 fi



Cheers,
-- 
Etsushi Kato
[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.