forked from pool/quilt
21 lines
551 B
Diff
21 lines
551 B
Diff
From: Jean Delvare <jdelvare@suse.de>
|
|
Subject: Fix quilt setup
|
|
|
|
A previous bug fix uncovered an old bug, which has to be fixed now:
|
|
a file name of "-" means "read from stdin" for tar.
|
|
---
|
|
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
|