[M3devel] bourne shell error on Solaris tinderbox

Jay K jay.krell at cornell.edu
Fri Jul 24 16:08:08 CEST 2009


Whatever works automatically or with little documented/errored fuss.
 (use #!/bin/bash and there'll be a clear error.)
I doubt bash is on most systems by default.
I figure if you have to use something that isn't installed by default, might as well be Python.
(Esp. once I get it working on MIPS64_OPENBSD! Probably just have to turn off libffi.)
 
 - Jay


----------------------------------------
> Date: Fri, 24 Jul 2009 15:17:07 +0200
> From: wagner at elegosoft.com
> To: jay.krell at cornell.edu
> CC: m3devel at elegosoft.com
> Subject: Re: bourne shell error on Solaris tinderbox
>
> Quoting Jay K :
>
>> Tinderbox on Solaris:
>>
>> http://tinderbox.elegosoft.com/tinderbox/cgi-bin/gunzip.cgi?tree=cm3&brief-log=1248433519.10119
>>
>> /scratch/hosking/work/cm3-ws/niagara-2009-07-24-10-47-30/cm3/scripts/pkgmap.sh: syntax error at line 256: `(´
>> unexpected
>
> Sorry for that. Solaris has ksh, which understands POSIX command
> substitution, but other systems won't have that.
> Can we assume bash, or should I just replace all $() by backquotes
> again?
>
>> Perl or Python would be more portable perhaps. Or Modula-3?
>> (Seriously: Python).
>
> I don't want to have that big dependency for all tests...
> Otherwise I'd agree: always use Python if possible.
>
> Olaf
> --
> Olaf Wagner -- elego Software Solutions GmbH
> Gustav-Meyer-Allee 25 / Gebäude 12, 13355 Berlin, Germany
> phone: +49 30 23 45 86 96 mobile: +49 177 2345 869 fax: +49 30 23 45 86 95
> http://www.elegosoft.com | Geschäftsführer: Olaf Wagner | Sitz: Berlin
> Handelregister: Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194
>


More information about the M3devel mailing list