On Sat, 23 Nov 2013 18:09:58 +0100
Thilo Six <ml...@xk2c.de> wrote:

> Hello
> 
> 
> ,----[  /etc/profile.d/bash_completion.sh  ]--------
> 
> - bash=${BASH_VERSION%.*}; bmajor=${bash%.*}; bminor=${bash#*.}
> - if [ $bmajor -gt 4 ] || [ $bmajor -eq 4 -a $bminor -ge 1 ]; then
> + if [[ ${BASH_VERSINFO[0]} -gt 4 ]] || \
> +  ( [[ ${BASH_VERSINFO[0]} -eq 4 ]] && [[ ${BASH_VERSINFO[1]} -ge 1 ]] ); 
> then
> `-----------------------------------------------------------------------

Commited. Thanks for the patch :)


-- Igor
 
> kind regards,
> 
>      Thilo

_______________________________________________
Bash-completion-devel mailing list
Bash-completion-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/bash-completion-devel

Reply via email to