[Scratchbox-devel] anyone installed scratchbox on ubuntu 7.04 Fiesty

Jussi Hakala jussi.hakala at movial.fi
Mon Oct 1 17:48:29 EEST 2007


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
> 
> root at swapnil-desktop:/scratchbox# ./run_me_first.sh
> ./etc/question_func.sh: 4: Syntax error: "(" unexpected
> root at swapnil-desktop:/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
> Scratchbox-devel at lists.scratchbox.org
> http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-devel



More information about the Scratchbox-devel mailing list