[tz] [PATCH 3/3] tzselect: use /bin/sh by default

Paul Eggert eggert at cs.ucla.edu
Sat Oct 27 19:29:43 UTC 2012


On 10/27/2012 02:06 AM, Mike Frysinger wrote:
> +	    eval echo \""$b$c) \${$c}"\" >&2

That looks pretty tricky.

How about if we just default to Bash instead?
Pretty much everybody has Bash if they don't have ksh,
and if they're on a platform that's likely to want to
run this script.

Another possibility is an early part of the script
that looks for a shell where 'select' works, and
then reexecutes the script with that shell.


More information about the tz mailing list