summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2005-09-28 10:09:33 +0000
committerrillig <rillig@pkgsrc.org>2005-09-28 10:09:33 +0000
commitdf85b684f30cc0030d86939fb1def87ddd278176 (patch)
treeca52508e1c3869b6b963acb93973ce7b3e8fee93 /mk
parentbfade458d17fbefad1ee781a203d584bde125709 (diff)
downloadpkgsrc-df85b684f30cc0030d86939fb1def87ddd278176.tar.gz
Removed redundant braces. Reindented the code.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.patch.mk15
1 files changed, 8 insertions, 7 deletions
diff --git a/mk/bsd.pkg.patch.mk b/mk/bsd.pkg.patch.mk
index f4bd196e23c..3b8bf08aad7 100644
--- a/mk/bsd.pkg.patch.mk
+++ b/mk/bsd.pkg.patch.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.patch.mk,v 1.19 2005/09/28 10:06:05 rillig Exp $
+# $NetBSD: bsd.pkg.patch.mk,v 1.20 2005/09/28 10:09:33 rillig Exp $
#
# This Makefile fragment is included by bsd.pkg.mk and defines the
# relevant variables and targets for the "patch" phase.
@@ -240,14 +240,15 @@ do-pkgsrc-patch:
continue; \
fi; \
set -- $$algsum; \
- { alg="$$1"; recorded="$$2"; \
- calcsum=`${SED} -e '/\$$NetBSD.*/d' $$i | ${DIGEST} $$alg`; \
- ${ECHO_PATCH_MSG} "=> Verifying $$filename (using digest algorithm $$alg)"; \
- if ${TEST} "$$calcsum" != "$$recorded"; then \
- patch_warning "Ignoring patch file $$i: invalid checksum"; \
+ alg="$$1"; \
+ recorded="$$2"; \
+ calcsum=`${SED} -e '/\$$NetBSD.*/d' $$i | ${DIGEST} $$alg`; \
+ ${ECHO_PATCH_MSG} "=> Verifying $$filename (using digest algorithm $$alg)"; \
+ if ${TEST} "$$calcsum" != "$$recorded"; then \
+ patch_warning "Ignoring patch file $$i: invalid checksum"; \
fail="$$fail $$i"; \
continue; \
- fi; }; \
+ fi; \
;; \
esac; \
${ECHO_PATCH_MSG} "${_PKGSRC_IN}> Applying pkgsrc patch $$i"; \