Le 06/09/15 15:32, Li, Jiajia a écrit :
> Hi Kai,
> I think you are right because it's ok on linux when I use the trunk code to 
> run.
There are a few bad thing sin the shell scripts :

- obviously, the file end line must be converted to \n only. There are
scripts to do that on linux
- don't use !/bin/bash. This is very specific, not all the X boxes have
bash installed. Use /bin/sh instead
- in if [ $var=="-D" ], you have to use " around $var : [ "$var"=="-D" ]

I suggest that the scripts are tested on various X box flavors (linux,
mac OSX, etc).


Reply via email to