summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@suse.de>2004-09-22 12:21:29 +0000
committerAndreas Gruenbacher <agruen@suse.de>2004-09-22 12:21:29 +0000
commit4664fd1972719706806eb94572beb92a64435f59 (patch)
treedef8d514ba02f790fb9f6bdc580d5c4b6a271e7d
parent518d019508cf05471be6b249d1e0f66961a8eb6d (diff)
downloadquilt-4664fd1972719706806eb94572beb92a64435f59.tar.gz
- Fix the version check in bash_completion for bash 3.v0.36
-rw-r--r--bash_completion4
-rw-r--r--quilt.changes3
2 files changed, 5 insertions, 2 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
diff --git a/quilt.changes b/quilt.changes
index 539ebb4..cfd4789 100644
--- a/quilt.changes
+++ b/quilt.changes
@@ -1,5 +1,5 @@
-------------------------------------------------------------------
-Wed Sep 22 13:03:53 CEST 2004 - agruen@suse.de
+Wed Sep 22 14:24:45 CEST 2004 - agruen@suse.de
- scripts/patchfns.in: set the dotglob option so that dot files
will show up in file globs as well. Bug reported by James Rowe.
@@ -11,6 +11,7 @@ Wed Sep 22 13:03:53 CEST 2004 - agruen@suse.de
the first place this case.
- test/run script: Oops, the previouos commit was not the latest
version.
+- Fix the version check in bash_completion for bash 3.
- Bump version to 0.36.
-------------------------------------------------------------------