23 May
2010
23 May
'10
4:52 a.m.
On Sun, May 23, 2010 at 1:04 AM, Allan McRae <allan@archlinux.org> wrote:
This does not break compatibility with bash-3.x. Just bash-4.0 which had a bug in it in the way it handles the type tests.
In bash-4.0 _only_: if [[ $(type -t build) == "function" ]] sets of the error trap if the build function does not exist. In all other version of bash, that works fine.
I am fine with dropping compatibility with bash-4.0 because any distribution (am I am including MacOSX and cygwin under that banner) that upgrades to bash-4 now will not be using bash-4.0.
Ah ok, I read that mail too quickly and misunderstood, it's much clearer now :) And completely fine then.