Fix decompression of tar archives.

Signed-off-by: Jean Delvare <[email protected]>
---
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 mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/quilt-dev

Reply via email to