I ran across this while setting up a cluster for running Sikuli scripts. I'm using Jenkins as a build queue for running automated tests against my application in a cluster of Mac minis. Instead of trying to keep all of the machines up to date I've opted to have them download the various software components they need from a server. Since the job that I've created had a space in the name I was getting the following error when trying to run Sikuli:
/jenkins/workspace/textPlus iOS testing/Sikuli-IDE.app/sikuli-ide.sh: line 4: ./Contents/MacOS/JavaApplicationStub: No such file or directory
I had this problem with rc3 (and also encountered it with the version from SVN about 2 days ago). The fix was pretty simple... the references to $0 in the sikuli-ide.sh needed to be quoted instead of bare. I've attached a patch with a fix. I've tested the fix on Mac OS X... I haven't tested it on Linux... but the fix would be the same and I suspect the bug would exist in the same form.