summaryrefslogtreecommitdiffstats
path: root/scripts/patchfns.in
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@suse.de>2004-04-27 22:49:06 +0000
committerAndreas Gruenbacher <agruen@suse.de>2004-04-27 22:49:06 +0000
commit88c20d8ce38b891294d05b9de20055acc9d87b3a (patch)
tree585caadfabc45dea502f1517c8532553bd39867e /scripts/patchfns.in
parenta255baafe1ac03e77eacbfaae20aaaa786f7aeb0 (diff)
downloadquilt-88c20d8ce38b891294d05b9de20055acc9d87b3a.tar.gz
- Fix `quilt fork': It destroys .pc/applied patches; that bug got
introduced when reverting it to its previous semantics.
Diffstat (limited to 'scripts/patchfns.in')
-rw-r--r--scripts/patchfns.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/patchfns.in b/scripts/patchfns.in
index f5b1bd3..10775ba 100644
--- a/scripts/patchfns.in
+++ b/scripts/patchfns.in
@@ -275,8 +275,8 @@ rename_in_db()
/usr/bin/gawk '
/^'"$(quote_re $from)"'$/ \
{ sub(/'"$(quote_re $from)"'/, "'"${to//\"/\\\"}"'")
- print
good=1 }
+ { print }
END { exit(! good) }
' $DB > $tmpfile
if [ $? -eq 0 ]