[pacman-dev] [PATCH] bash_completion: fix bash 3.2 incompatibility

Allan McRae allan at archlinux.org
Tue Jun 22 23:33:15 EDT 2010


On 22/06/10 12:30, Andres P wrote:
> To avoid errors with bash 3.2, compopt will be skipped if it's not a
> shell builtin.
>
> compopt is needed to not append slashes to package names that
> coincide with directories in PWD.
>
> This is currently not possible to fix in bash versions that do not support
> compopt, so these users will have to bear that regression.
>
> Signed-off-by: Andres P<aepd87 at gmail.com>

Signed-off-by: Allan

On my working-maint branch.


More information about the pacman-dev mailing list