diff options
author | Andreas Gruenbacher <agruen@suse.de> | 2004-09-22 12:21:29 +0000 |
---|---|---|
committer | Andreas Gruenbacher <agruen@suse.de> | 2004-09-22 12:21:29 +0000 |
commit | 4664fd1972719706806eb94572beb92a64435f59 (patch) | |
tree | def8d514ba02f790fb9f6bdc580d5c4b6a271e7d /bash_completion | |
parent | 518d019508cf05471be6b249d1e0f66961a8eb6d (diff) | |
download | quilt-4664fd1972719706806eb94572beb92a64435f59.tar.gz |
- Fix the version check in bash_completion for bash 3.v0.36
Diffstat (limited to 'bash_completion')
-rw-r--r-- | bash_completion | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bash_completion b/bash_completion index f0b5fbe..d0c1ede 100644 --- a/bash_completion +++ b/bash_completion @@ -245,7 +245,9 @@ _quilt_completion() return 0 } -[ ${BASH_VERSINFO[1]} '>' 04 ] && _quilt_complete_opt="-o filenames" +[ ${BASH_VERSINFO[0]} > 2 -o \ + ${BASH_VERSINFO[0]} = 2 -a ${BASH_VERSINFO[1]} '>' 04 ] \ +&& _quilt_complete_opt="-o filenames" complete -F _quilt_completion $_quilt_complete_opt quilt unset -v _quilt_complete_opt |