[pacman-dev] [PATCH] makepkg: revert bash4-ism

Allan McRae allan at archlinux.org
Sun Jun 20 10:57:23 EDT 2010


On 21/06/10 00:37, Cedric Staniewski wrote:
> On 20.06.2010 16:39, Allan McRae wrote:
>> Commit 3d67d9b1 introduced multiple bash4 string manipulations.
>> Revert those in order retain compatibility with bash-3.2 which
>> is still widely used.
>>
>
> If you want to make it bash 3 compatible again, you also have to replace
> "&>  /dev/null" with ">/dev/null 2>&1".

Thanks.  I missed that when I was reading up on bash-4 specific 
features.  We need to keep bash-3.2 compatibility as that is the latest 
bash version on Cygwin and OSX where we do have pacman users.

Allan


More information about the pacman-dev mailing list