diff options
author | Jean Delvare <jdelvare@suse.de> | 2011-12-15 13:55:47 +0100 |
---|---|---|
committer | Jean Delvare <jdelvare@suse.de> | 2011-12-15 13:55:47 +0100 |
commit | a8eae6b84f446e9cda14977acba88ead040a4600 (patch) | |
tree | 381c34e78250f2ac7bc5e54cfed95f595c6b2e8c | |
parent | 8ff76066f0937297f34b2800a4d8dbee57da5232 (diff) | |
download | quilt-a8eae6b84f446e9cda14977acba88ead040a4600.tar.gz |
inspect: File name "-" means "read from stdin" for tar
-rw-r--r-- | quilt.changes | 6 | ||||
-rw-r--r-- | quilt/scripts/inspect.in | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/quilt.changes b/quilt.changes index 968719e..5ce7d32 100644 --- a/quilt.changes +++ b/quilt.changes @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Thu Dec 15 13:53:35 CET 2011 - jdelvare@suse.de + +- scripts/inspect.in: Fix quilt setup. A file name of "-" means + "read from stdin" for tar. + +------------------------------------------------------------------- Thu Dec 8 16:42:24 CET 2011 - jdelvare@suse.de - scripts/inspect.in: Consistently use ${TMPDIR:-...} when testing diff --git a/quilt/scripts/inspect.in b/quilt/scripts/inspect.in index b05ec73..8d5f229 100644 --- 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 |