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
commite8a2b78e6c78f37ffbb67eed3ca63a85dfc94a0c (patch)
treeca52508e1c3869b6b963acb93973ce7b3e8fee93 /mk
parent509439f0fd4880b4f723816af8cb2c1b40ccf722 (diff)
downloadpkgsrc-e8a2b78e6c78f37ffbb67eed3ca63a85dfc94a0c.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"; \