FAQ
Cover
\
Build
\
Source
\
Bugs
\
Reference
\
Libraries
\
Tools
The bugs database has moved
here
.
Bug 373 : processing shell script
Last modified: 2006-07-16 05:44
P
roject:
processing
trash
Version:
unspecified
Co
m
ponent:
android
book
core
libraries
pde
reference
tools
web
Status:
RESOLVED
Resolution:
FIXED -
Pr
i
ority:
P2
Severity:
normal
Platform
All
O
S:
All
Windows
Mac OS
Linux
Other
Reporter:
hungerburg
Assigned To:
fry
Attachment
Type
Created
Size
Actions
Description
: Opened: 2006-07-16 04:42
the shell script to start up the processing environment contains a C-ism,
that bash and ksh respect, still its not in POSIX requirements (dash fails,
eg.) please change line 28 in the script (from - to +):
- if [ $? == 0 ]
+ if [ $? = 0 ]
regards
peter
PS: test spex -
http://www.opengroup.org/onlinepubs/009695399/utilities/test.html
Additional Comment
#1 From hungerburg 2006-07-16 04:46
perhaps it was even better to write the test expression like this:
if [ $? -eq 0 ]
peter
Additional Comment
#2 From fry 2006-07-16 05:44
k, i've changed for the next release. thanks.