pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/bulk Fix missing {} around variable name, noted by ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/98e77e82326f
branches: trunk
changeset: 487872:98e77e82326f
user: tv <tv%pkgsrc.org@localhost>
date: Fri Jan 21 13:11:46 2005 +0000
description:
Fix missing {} around variable name, noted by wiz.
Change one instance of $(...) to `...` per policy.
diffstat:
mk/bulk/bsd.bulk-pkg.mk | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (32 lines):
diff -r 32a08aaba054 -r 98e77e82326f mk/bulk/bsd.bulk-pkg.mk
--- a/mk/bulk/bsd.bulk-pkg.mk Fri Jan 21 13:07:12 2005 +0000
+++ b/mk/bulk/bsd.bulk-pkg.mk Fri Jan 21 13:11:46 2005 +0000
@@ -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@localhost>
@@ -205,7 +205,7 @@
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 @@
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 ; \
Home |
Main Index |
Thread Index |
Old Index