You should be using Scratchbox Apophis R4 instead of 1.0.2. If you're anyway using the stable branch, there should be no reason to run an outdated version of it.

The error is due to fact that your version of Ubuntu is using dash to provide /bin/sh. Scratchbox scripts contain bashishms that won't work when executed with dash.

You can fix the problem by changing the hashbang (#!) to /bin/bash instead of /bin/sh.

Or (recommended) upgrade to Apophis R4 in which this problem has been fixed.

Regards,

  Jussi

swapnil kamble wrote:

Hi,
I have installed scratchbox 1.0.2 on ubuntu 7.04. But having problems while running

[EMAIL PROTECTED]:/scratchbox# ./run_me_first.sh
./etc/question_func.sh: 4: Syntax error: "(" unexpected
[EMAIL PROTECTED]:/scratchbox#
Does anyone know, why this happens or how to resolve this error.

--
...Swapnil

|| Hare Krishna Hare Krishna Krishna Krishna Hare Hare ||
|| Hare Rama    Hare Rama    Rama   Rama    Hare Hare ||


------------------------------------------------------------------------

_______________________________________________
Scratchbox-devel mailing list
[email protected]
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-devel

_______________________________________________
Scratchbox-devel mailing list
[email protected]
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-devel

Reply via email to