summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2011-11-14 22:12:38 +0100
committerJean Delvare <jdelvare@suse.de>2011-11-14 22:12:38 +0100
commit2c236e637a2d25a633aea6dfc54d6afcbafd81e4 (patch)
treec3522192d1bf3b40d0a17b41f38ac50f6b900a19
parentbbd198216148c2dc11f74e6e54a19e92ab13675f (diff)
downloadquilt-2c236e637a2d25a633aea6dfc54d6afcbafd81e4.tar.gz
scripts/inspect.in: Fix decompression of tar archives.
-rw-r--r--quilt.changes5
-rw-r--r--quilt/scripts/inspect.in6
2 files changed, 8 insertions, 3 deletions
diff --git a/quilt.changes b/quilt.changes
index fb12a3c..3ab9d62 100644
--- a/quilt.changes
+++ b/quilt.changes
@@ -1,4 +1,9 @@
-------------------------------------------------------------------
+Mon Nov 14 22:09:32 CET 2011 - jdelvare@suse.de
+
+- scripts/inspect.in: Fix decompression of tar archives.
+
+-------------------------------------------------------------------
Thu Nov 10 21:26:10 CET 2011 - jdelvare@suse.de
- scripts/inspect.in: Old versions of file don't know about
diff --git a/quilt/scripts/inspect.in b/quilt/scripts/inspect.in
index 87faf8a..1ad1866 100644
--- 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