summaryrefslogtreecommitdiffstats
path: root/scripts/apatch.in
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@suse.de>2003-10-31 15:53:54 +0000
committerAndreas Gruenbacher <agruen@suse.de>2003-10-31 15:53:54 +0000
commit6444d13378279cfeb1477e6b68b7baf07cf6dbc4 (patch)
tree46d78f80db674382b71f53fdec0981d622c64524 /scripts/apatch.in
parent26dbad21e5113e900bf2067ec94fdc5cf23bdfbe (diff)
downloadquilt-6444d13378279cfeb1477e6b68b7baf07cf6dbc4.tar.gz
- No longer verify if patches remove cleanly by reverse applying
them: This doesn't always succeed, and the the equivalent of `quilt diff -z' should suffice, anyway. - Add `touch .pc/$patch' after successful refresh: Speeds up `quilt pop' after a refresh. - Update test suite. - apatch was printing a spurious newline.
Diffstat (limited to 'scripts/apatch.in')
-rwxr-xr-xscripts/apatch.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/apatch.in b/scripts/apatch.in
index 511f878..034773e 100755
--- a/scripts/apatch.in
+++ b/scripts/apatch.in
@@ -78,7 +78,8 @@ apply_patch()
# The reject files are removed in rollback_patch.
echo "$output" \
| sed -e 's/-- saving rejects to file \(.\+\)\.rej/-- rejects in file \1/'
- else
+ elif [ -n "$output" ]
+ then
echo "$output"
fi
return $status