[pacman-dev] [PATCH] [makepkg] use double brackets
Xavier Chantry
chantry.xavier at gmail.com
Sun May 23 00:52:29 EDT 2010
On Sun, May 23, 2010 at 1:04 AM, Allan McRae <allan at 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.
More information about the pacman-dev
mailing list