summaryrefslogtreecommitdiffstats
path: root/scripts/rpatch.in
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@suse.de>2004-02-15 14:56:14 +0000
committerAndreas Gruenbacher <agruen@suse.de>2004-02-15 14:56:14 +0000
commit2e083b83410563b1bc5ff8b2379315178ccc7bfd (patch)
tree32c530c5b8f1c262ccb28fbf7e29d91e52905fbe /scripts/rpatch.in
parentc5e8abb281aedeb2c496a84b12ec050a67a5afaa (diff)
downloadquilt-2e083b83410563b1bc5ff8b2379315178ccc7bfd.tar.gz
- Never fail when patching temporary files in `quilt diff -z',
only warn.
Diffstat (limited to 'scripts/rpatch.in')
-rwxr-xr-xscripts/rpatch.in7
1 files changed, 1 insertions, 6 deletions
diff --git a/scripts/rpatch.in b/scripts/rpatch.in
index 92639bf..e3882a9 100755
--- a/scripts/rpatch.in
+++ b/scripts/rpatch.in
@@ -80,14 +80,9 @@ check_for_pending_changes()
--no-backup-if-mismatch -E \
>/dev/null 2>/dev/null
then
- # If a patch was force applied (and therefore needs
- # refreshing), we know that patching the temporary
- # files won't succeed, either. So, ignore the error
- # in that particular case.
-
if ! [ -e $QUILT_PC/$patch ]
then
- echo $"Failed to patch temporary files"
+ echo $"Failed to patch temporary files" >&2
rm -rf $workdir
return 1
fi