summaryrefslogtreecommitdiffstats
path: root/scripts/patchfns.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/patchfns.in
parentc5e8abb281aedeb2c496a84b12ec050a67a5afaa (diff)
downloadquilt-2e083b83410563b1bc5ff8b2379315178ccc7bfd.tar.gz
- Never fail when patching temporary files in `quilt diff -z',
only warn.
Diffstat (limited to 'scripts/patchfns.in')
-rw-r--r--scripts/patchfns.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/patchfns.in b/scripts/patchfns.in
index 8649dfc..f59e72b 100644
--- a/scripts/patchfns.in
+++ b/scripts/patchfns.in
@@ -251,7 +251,7 @@ rename_in_series()
local from=$1 to=$2
tmpfile=$(gen_tempfile) || return 1
- /usr/bin/gawk '
+ @AWK@ '
/^'"$(quote_re $from)"'([ \t]|$)/ \
{ sub(/'"$(quote_re $from)"'/, "'"${to//\"/\\\"}"'")
good=1 }
@@ -558,7 +558,7 @@ patch_description()
@AWK@ '
$1 == "---" { exit }
/^Index:[ \t]|^diff[ \t]|^==*$/ \
- { eat = eat $0
+ { eat = eat $0
next }
eat { print eat
eat="" }