pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk One line of code can say as much as ten.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9bdf9bea79c2
branches:  trunk
changeset: 532984:9bdf9bea79c2
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Thu Sep 06 08:28:01 2007 +0000

description:
One line of code can say as much as ten.

diffstat:

 mk/bsd.pkg.update.mk |  7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diffs (21 lines):

diff -r 5497a6966d82 -r 9bdf9bea79c2 mk/bsd.pkg.update.mk
--- a/mk/bsd.pkg.update.mk      Thu Sep 06 08:24:12 2007 +0000
+++ b/mk/bsd.pkg.update.mk      Thu Sep 06 08:28:01 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.update.mk,v 1.8 2007/09/06 08:24:12 rillig Exp $
+# $NetBSD: bsd.pkg.update.mk,v 1.9 2007/09/06 08:28:01 rillig Exp $
 #
 # This Makefile fragment is included by bsd.pkg.mk and contains the targets
 # and variables for "make update".
@@ -125,10 +125,7 @@
 
 
 ${_DDIR}: ${_DLIST}
-       ${RUN}                                                          \
-       for pkg in `${CAT} ${_DLIST}`; do                               \
-               ${PKG_INFO} -Q PKGPATH "$${pkg}";                       \
-       done >> ${_DDIR}
+       ${RUN} ${PKG_INFO} -Q PKGPATH `${CAT} ${_DLIST}` > ${_DDIR}
 
 ${_DLIST}: ${WRKDIR}
        ${_PKG_SILENT}${_PKG_DEBUG}                                     \



Home | Main Index | Thread Index | Old Index