quilt-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Quilt-dev] [PATCH] Fix inspect (quilt setup)


From: Jean Delvare
Subject: [Quilt-dev] [PATCH] Fix inspect (quilt setup)
Date: Wed, 7 Dec 2011 23:16:07 +0100
User-agent: KMail/1.12.4 (Linux/2.6.32.46-0.3-pae; KDE/4.3.5; i686; ; )

It seems that "quilt setup" in quilt 0.50 is broken. inspect chokes on 
(I believe) any compressed tar file. Oddly enough the bug appears to 
have been there pretty much forever, but was hidden by the other inspect 
bug that got fixed in 2c236e637a2d25a633aea6dfc54d6afcbafd81e4 a few 
weeks ago. At least this is my analysis...

Andreas, the fix below seems to work OK for me, please let me know if I 
missed anything, inspect isn't quite my thing yet.

---
 quilt/scripts/inspect.in |    2 ++
 1 file changed, 2 insertions(+)

--- a/quilt/scripts/inspect.in
+++ b/quilt/scripts/inspect.in
@@ -266,6 +266,8 @@ cat <<-'EOF' > $tmpdir/bin/wrapper
                ;;
        tar)
                inputfile=$(tar_input_file "$@")
+               # For tar, file - means read from stdin
+               [ "$inputfile" = "-" ] && inputfile=
                ;;
        esac
        if [ -z "$inputfile" ]; then


-- 
Jean Delvare
Suse L3



reply via email to

[Prev in Thread] Current Thread [Next in Thread]