[pacman-dev] pacman shell scripts and bash3.2 compat - Was: [PATCH 04/11] makepkg: less code duplication in create_package

Andres P aepd87 at gmail.com
Sun Jun 20 13:21:45 EDT 2010


On Sun, Jun 20, 2010 at 6:09 AM, Allan McRae <allan at archlinux.org> wrote:
> That is a bash4 command so will break cygwin compatibility (which currently
> has bash-3.2).  Resubmit with something like "tr [:lower:] [:upper:]" usage.
>
> (I know the ${i^^} is used elsewhere, but that slipped passed my notice and
> will be being reverted.
>

bash_completion also has bash 4 only items...

Please write a style guide for all shell scripts....

Andres P


More information about the pacman-dev mailing list