Skip to content

Commit

Permalink
pkg_info needs at least one package name. Fixes PR 36940.
Browse files Browse the repository at this point in the history
  • Loading branch information
rillig committed Sep 7, 2007
1 parent e545ac3 commit 3492e1f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions mk/bsd.pkg.update.mk
@@ -1,4 +1,4 @@
# $NetBSD: bsd.pkg.update.mk,v 1.9 2007/09/06 08:28:01 rillig Exp $
# $NetBSD: bsd.pkg.update.mk,v 1.10 2007/09/07 10:38:44 rillig Exp $
#
# This Makefile fragment is included by bsd.pkg.mk and contains the targets
# and variables for "make update".
Expand Down Expand Up @@ -125,7 +125,8 @@ update-dirlist:


${_DDIR}: ${_DLIST}
${RUN} ${PKG_INFO} -Q PKGPATH `${CAT} ${_DLIST}` > ${_DDIR}
${RUN} pkgs=`${CAT _DLIST}`; \
if [ "$$pkgs" ]; then ${PKG_INFO} -Q PKGPATH $$pkgs; fi > ${_DDIR}

${_DLIST}: ${WRKDIR}
${_PKG_SILENT}${_PKG_DEBUG} \
Expand Down

0 comments on commit 3492e1f

Please sign in to comment.