pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/pkg_chk When creating the sorted list of bina...
details: https://anonhg.NetBSD.org/pkgsrc/rev/40951b50eea3
branches: trunk
changeset: 506202:40951b50eea3
user: joerg <joerg%pkgsrc.org@localhost>
date: Thu Jan 12 21:17:16 2006 +0000
description:
When creating the sorted list of binary packages, "ls -t *.tgz" can
easily overflow the argument space e.g. on DragonFly. Replace this
statement with "ls -t | grep '\.tgz$'" to remove this constraint.
diffstat:
pkgtools/pkg_chk/Makefile | 4 ++--
pkgtools/pkg_chk/files/pkg_chk.sh | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diffs (32 lines):
diff -r 7844aa5f58a1 -r 40951b50eea3 pkgtools/pkg_chk/Makefile
--- a/pkgtools/pkg_chk/Makefile Thu Jan 12 21:05:19 2006 +0000
+++ b/pkgtools/pkg_chk/Makefile Thu Jan 12 21:17:16 2006 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.23 2006/01/03 19:00:09 abs Exp $
+# $NetBSD: Makefile,v 1.24 2006/01/12 21:17:16 joerg Exp $
-DISTNAME= pkg_chk-1.64
+DISTNAME= pkg_chk-1.65
CATEGORIES= pkgtools
MASTER_SITES= # empty
DISTFILES= # empty
diff -r 7844aa5f58a1 -r 40951b50eea3 pkgtools/pkg_chk/files/pkg_chk.sh
--- a/pkgtools/pkg_chk/files/pkg_chk.sh Thu Jan 12 21:05:19 2006 +0000
+++ b/pkgtools/pkg_chk/files/pkg_chk.sh Thu Jan 12 21:17:16 2006 +0000
@@ -1,6 +1,6 @@
#!@SH@ -e
#
-# $Id: pkg_chk.sh,v 1.24 2006/01/03 19:00:09 abs Exp $
+# $Id: pkg_chk.sh,v 1.25 2006/01/12 21:17:16 joerg Exp $
#
# TODO: Make -g check dependencies and tsort
# TODO: Variation of -g which only lists top level packages
@@ -703,7 +703,7 @@
if [ -d "$PACKAGES" ] ; then
msg_progress Scan $PACKAGES
cd $PACKAGES
- for f in `ls -t *.tgz` ; do # Sort by time to pick up newest first
+ for f in `ls -t | grep '\.tgz$'` ; do # Sort by time to pick up newest first
PKGDIR=`${PKG_INFO} -. -B $PACKAGES/$f|${AWK} -F= '$1=="PKGPATH"{print $2}'`
PKGNAME=`echo $f | ${SED} 's/\.tgz$//'`
PKGDB="${PKGDB} $PKGDIR:$PKGNAME"
Home |
Main Index |
Thread Index |
Old Index