mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Add a patch to fix tab on an empty line producing:
$ bash: words: bad array subscript PR: 196713 Submitted by: gnudalf@yandex.com Obtained from: upstream bug #1289597
This commit is contained in:
parent
7efc3b05a5
commit
db418ff164
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=377528
2 changed files with 12 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
|||
|
||||
PORTNAME= bash-completion
|
||||
PORTVERSION= 2.1
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= shells
|
||||
MASTER_SITES= http://bash-completion.alioth.debian.org/files/
|
||||
|
|
11
shells/bash-completion/files/patch-bash__completion
Normal file
11
shells/bash-completion/files/patch-bash__completion
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- bash_completion.orig 2015-01-20 16:17:24 UTC
|
||||
+++ bash_completion
|
||||
@@ -707,7 +707,7 @@ _init_completion()
|
||||
fi
|
||||
done
|
||||
|
||||
- [[ $cword -eq 0 ]] && return 1
|
||||
+ [[ $cword -le 0 ]] && return 1
|
||||
prev=${words[cword-1]}
|
||||
|
||||
[[ ${split-} ]] && _split_longopt && split=true
|
Loading…
Add table
Reference in a new issue