[M3devel] bourne shell error on Solaris tinderbox

Olaf Wagner wagner at elegosoft.com
Fri Jul 24 15:17:07 CEST 2009


Quoting Jay K <jay.krell at cornell.edu>:

> 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