pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk Removed redundant braces. Reindented the code.
details: https://anonhg.NetBSD.org/pkgsrc/rev/0f0f287ba557
branches: trunk
changeset: 499851:0f0f287ba557
user: rillig <rillig%pkgsrc.org@localhost>
date: Wed Sep 28 10:09:33 2005 +0000
description:
Removed redundant braces. Reindented the code.
diffstat:
mk/bsd.pkg.patch.mk | 15 ++++++++-------
1 files changed, 8 insertions(+), 7 deletions(-)
diffs (31 lines):
diff -r f1295a7bf1a4 -r 0f0f287ba557 mk/bsd.pkg.patch.mk
--- a/mk/bsd.pkg.patch.mk Wed Sep 28 10:06:58 2005 +0000
+++ b/mk/bsd.pkg.patch.mk Wed Sep 28 10:09:33 2005 +0000
@@ -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 @@
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"; \
Home |
Main Index |
Thread Index |
Old Index