summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Walker <ka0ttic@gentoo.org>2005-07-24 11:44:44 +0000
committerAaron Walker <ka0ttic@gentoo.org>2005-07-24 11:44:44 +0000
commitc6b2f05e27c03a2b2c88ad8eef74aa10411731bd (patch)
tree500c51e85e8fceb092b667f89b98aa7e082688ca /app-shells/bash-completion/files
parentadd block message (diff)
downloadgentoo-2-c6b2f05e27c03a2b2c88ad8eef74aa10411731bd.tar.gz
gentoo-2-c6b2f05e27c03a2b2c88ad8eef74aa10411731bd.tar.bz2
gentoo-2-c6b2f05e27c03a2b2c88ad8eef74aa10411731bd.zip
Revision bump; updated tar patch so 'tar tf' works as expected on uncompressed .tar files (bug 99996). Keeping keywords.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'app-shells/bash-completion/files')
-rw-r--r--app-shells/bash-completion/files/20050121/06_all_tar.diff29
-rw-r--r--app-shells/bash-completion/files/digest-bash-completion-20050121-r10 (renamed from app-shells/bash-completion/files/digest-bash-completion-20050121-r9)0
2 files changed, 24 insertions, 5 deletions
diff --git a/app-shells/bash-completion/files/20050121/06_all_tar.diff b/app-shells/bash-completion/files/20050121/06_all_tar.diff
index 2615bddaadf5..0f9ec4da2da4 100644
--- a/app-shells/bash-completion/files/20050121/06_all_tar.diff
+++ b/app-shells/bash-completion/files/20050121/06_all_tar.diff
@@ -1,13 +1,32 @@
---- bash_completion.orig/bash_completion 2005-03-28 23:32:38.000000000 -0500
-+++ bash_completion/bash_completion 2005-03-28 23:42:13.000000000 -0500
-@@ -2773,8 +2773,8 @@
+--- bash_completion.orig/bash_completion 2005-07-24 05:21:24.000000000 -0400
++++ bash_completion/bash_completion 2005-07-24 05:22:21.000000000 -0400
+@@ -2773,16 +2773,16 @@
return 0
;;
+([^IZzjy])f)
- ext='tar'
- regex=$ext
-+ ext='t?(ar?(.))@(gz|Z|bz?(2))'
-+ regex='t\(ar?(\.)\)\(gz\|Z\|bz2\?\)'
++ ext='t@(ar?(.@(Z|gz|bz?(2)))|gz|bz?(2))'
++ regex='t\(ar\(\.\(Z\|gz\|bz2\?\)\)\?\|gz\|bz2\?\)'
;;
*[Zz]*f)
ext='t?(ar.)@(gz|Z)'
+- regex='t\(ar\.\)\(gz\|Z\)'
++ regex='t\(ar\.\)\?\(gz\|Z\)'
+ ;;
+ *[Ijy]*f)
+ ext='t?(ar.)bz?(2)'
+- regex='t\(ar\.\)bz2\?'
++ regex='t\(ar\.\)\?bz2\?'
+ ;;
+ *)
+ _filedir
+@@ -2796,7 +2796,7 @@
+ #
+ # get name of tar file from command line
+ tar=$( echo "$COMP_LINE" | \
+- sed -e 's|^.* \([^ ]*'$regex'\) .*$|\1|' )
++ sed -e 's/^.* \([^ ]*'$regex'\) .*$/\1/' )
+ # devise how to untar and list it
+ untar=t${COMP_WORDS[1]//[^Izjyf]/}
+
diff --git a/app-shells/bash-completion/files/digest-bash-completion-20050121-r9 b/app-shells/bash-completion/files/digest-bash-completion-20050121-r10
index 5b0dcdfbb97e..5b0dcdfbb97e 100644
--- a/app-shells/bash-completion/files/digest-bash-completion-20050121-r9
+++ b/app-shells/bash-completion/files/digest-bash-completion-20050121-r10