Szerző: Phil Pennock Dátum: Címzett: Dennis Davis CC: exim-users Tárgy: Re: [exim] Exim 4.77 RC2 uploaded
On 2011-10-04 at 14:28 +0100, Dennis Davis wrote: > This problem's caused by scripts/reversion assuming that /bin/sh
> is bash or equivalent (eg ksh) and so contains several bashisms.
> This doesn't work with /bin/sh on Solaris.
The word you're looking for is "POSIX". Seriously, if it were bashisms,
or any other modern shell, it would be using $(( ... )) instead of
messing with expr(1).
Instead, Tony forgot that $(...) is not in Solaris /bin/sh, despite
being in POSIX. Hey, it's only been 19 years since
"IEEE Std 1003.2-1992". Give it a few more years and we can celebrate
the 20th birthday of Solaris finding a way to claim POSIX compliance by
only providing a POSIX shell as /usr/xpg4/bin/sh instead of /bin/sh.
I'll copy the same "re-exec self using a POSIX shell" hacks I wrote for
the "lookups-Makefile" script.