summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authortv <tv>2005-01-21 13:11:46 +0000
committertv <tv>2005-01-21 13:11:46 +0000
commit0e6c3d5c49d08313b32d6531e33caa90aca2bca5 (patch)
tree75c62b404ecc551f3b49eeb57408a88211e582c6 /mk
parent2cfa3c4793172369fce7afa567d772143c171706 (diff)
downloadpkgsrc-0e6c3d5c49d08313b32d6531e33caa90aca2bca5.tar.gz
Fix missing {} around variable name, noted by wiz.
Change one instance of $(...) to `...` per policy.
Diffstat (limited to 'mk')
-rw-r--r--mk/bulk/bsd.bulk-pkg.mk10
1 files changed, 5 insertions, 5 deletions
diff --git a/mk/bulk/bsd.bulk-pkg.mk b/mk/bulk/bsd.bulk-pkg.mk
index ce22f7c3f31..26c8aefed38 100644
--- a/mk/bulk/bsd.bulk-pkg.mk
+++ b/mk/bulk/bsd.bulk-pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.bulk-pkg.mk,v 1.71 2005/01/19 22:12:27 tv Exp $
+# $NetBSD: bsd.bulk-pkg.mk,v 1.72 2005/01/21 13:11:46 tv Exp $
#
# Copyright (c) 1999, 2000 Hubert Feyrer <hubertf@NetBSD.org>
@@ -205,7 +205,7 @@ bulk-check-uptodate:
if [ "${REF:T}" != "${PKGFILE:T}" ]; then \
${ECHO_MSG} >&2 "BULK> ${REF} is out of date (new version ${PKGNAME}); rebuilding..."; \
uptodate=0; \
- elif [ "$USE_BULK_TIMESTAMPS" = "yes" ]; then \
+ elif [ "${USE_BULK_TIMESTAMPS}" = "yes" ]; then \
${SHCOMMENT} "Check files of this package"; \
newfiles="`${FIND} . -type f -newer "${REF}" -print | ${EGREP} -v -e ./work -e COMMENT -e DESCR -e README.html -e CVS -e '^\./\.' || ${TRUE}`"; \
nnewfiles="`${FIND} . -type f -newer "${REF}" -print | ${EGREP} -v -e ./work -e COMMENT -e DESCR -e README.html -e CVS -e '^\./\.' | ${WC} -l`"; \
@@ -231,10 +231,10 @@ bulk-check-uptodate:
pkg=`${PKG_ADMIN} lsbest "${PACKAGES}/All/$$dep"` ; \
if [ -z "$$pkg" ]; then \
${ECHO_MSG} >&2 "BULK> Required binary package $$dep does not exist, rebuilding... " ; \
- uptodate=0 ; \
- elif [ "$USE_BULK_TIMESTAMPS" = "yes" ] && [ -n "$$(${FIND} $$pkg -prune -newer ${REF} -print)" ]; then \
+ uptodate=0; \
+ elif [ "${USE_BULK_TIMESTAMPS}" = "yes" ] && [ -n "`${FIND} $$pkg -prune -newer ${REF} -print`" ]; then \
${ECHO_MSG} >&2 "BULK> Required binary package $$dep (`basename $$pkg`) is newer, rebuilding... " ; \
- uptodate=0 ; \
+ uptodate=0; \
else \
${ECHO_MSG} >&2 "BULK> Required binary package $$dep (`basename $$pkg`) is usable. " ; \
fi ; \