[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Quilt-dev] [PATCH] inspect: Fix decompression of tar archives
From: |
Jean Delvare |
Subject: |
[Quilt-dev] [PATCH] inspect: Fix decompression of tar archives |
Date: |
Mon, 14 Nov 2011 15:37:02 +0100 |
User-agent: |
KMail/1.12.4 (Linux/2.6.32.46-0.3-pae; KDE/4.3.5; i686; ; ) |
Fix decompression of tar archives.
Signed-off-by: Jean Delvare <address@hidden>
---
If nobody objects by then, I'll commit this fix by the end of the day.
quilt/scripts/inspect.in | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
--- a/quilt/scripts/inspect.in
+++ b/quilt/scripts/inspect.in
@@ -241,10 +241,10 @@ cat <<-'EOF' > $tmpdir/bin/wrapper
tar_input_file() {
case "$1" in
- [^-]*C*f* | C*f*)
+ *C*f*)
echo "$3"
;;
- [^-]*f* | f*)
+ *f*)
echo "$2"
;;
esac
@@ -252,7 +252,7 @@ cat <<-'EOF' > $tmpdir/bin/wrapper
tar_opt_C() {
case "$1" in
- [^-]*C*f* | C*f*)
+ *C*f*)
echo "$2"
return ;;
esac
--
Jean Delvare
Suse L3
- [Quilt-dev] [PATCH] inspect: Fix decompression of tar archives,
Jean Delvare <=