Merge pull request #3402 from ebfe/bash-completion

bash-completion: fix #1558
This commit is contained in:
Juan RP 2016-01-19 06:20:52 +01:00
commit a66ca9d17c
2 changed files with 12 additions and 1 deletions

View file

@ -0,0 +1,11 @@
--- bash_completion.orig
+++ bash_completion
@@ -718,7 +718,7 @@ _init_completion()
fi
done
- [[ $cword -eq 0 ]] && return 1
+ [[ $cword -le 0 ]] && return 1
prev=${words[cword-1]}
[[ ${split-} ]] && _split_longopt && split=true

View file

@ -1,7 +1,7 @@
# Template file for 'bash-completion'
pkgname=bash-completion
version=2.1
revision=6
revision=7
noarch="yes"
build_style=gnu-configure
makedepends="bash"