summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2013-08-31 20:17:37 +0000
committerrillig <rillig@pkgsrc.org>2013-08-31 20:17:37 +0000
commitaebedbb36683c7112848d4408f1c415c6862e023 (patch)
treedb36178966cd0f90a7eeeeb64fe3d54b9c277b09 /mk
parent39639a81f34a1c5caff233eba237967d2b7503f2 (diff)
downloadpkgsrc-aebedbb36683c7112848d4408f1c415c6862e023.tar.gz
The pkg_info command is an internal detail and therefore should be
hidden behind the ${RUN} macro, just like all the other commands.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.update.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bsd.pkg.update.mk b/mk/bsd.pkg.update.mk
index 5f9a6742850..f4a9514c3cf 100644
--- a/mk/bsd.pkg.update.mk
+++ b/mk/bsd.pkg.update.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.update.mk,v 1.23 2011/05/04 09:49:34 obache Exp $
+# $NetBSD: bsd.pkg.update.mk,v 1.24 2013/08/31 20:17:37 rillig Exp $
#
# This Makefile fragment is included by bsd.pkg.mk and contains the targets
# and variables for "make update".
@@ -127,7 +127,7 @@ ${_DDIR}: ${_DLIST}
if [ "$$pkgs" ]; then ${PKG_INFO} -Q PKGPATH $$pkgs; fi > ${_DDIR}
${_DLIST}: ${WRKDIR}
- if ${PKG_INFO} -qe "${PKGWILDCARD}"; then \
+ ${RUN} if ${PKG_INFO} -qe "${PKGWILDCARD}"; then \
${PKG_INFO} -qr "${PKGWILDCARD}" > ${_DLIST}; \
else \
${TOUCH} ${_DLIST}; \