pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/bulk Restore ls -t | grep idiom, the whole package ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/decb2c41933c
branches:  trunk
changeset: 515038:decb2c41933c
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Jun 22 11:09:18 2006 +0000

description:
Restore ls -t | grep idiom, the whole package list is too big for the
argument list on at least on OS.

diffstat:

 mk/bulk/upload |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 75c5f45b0cc9 -r decb2c41933c mk/bulk/upload
--- a/mk/bulk/upload    Thu Jun 22 10:29:10 2006 +0000
+++ b/mk/bulk/upload    Thu Jun 22 11:09:18 2006 +0000
@@ -1,5 +1,5 @@
 #!/bin/sh
-# $NetBSD: upload,v 1.29 2006/06/02 22:01:46 dillo Exp $
+# $NetBSD: upload,v 1.30 2006/06/22 11:09:18 joerg Exp $
 
 #
 # Upload non-restricted binary pkgs to ftp server
@@ -160,7 +160,7 @@
 if [ "${MKSUMMARY}" = "yes" -o "${MKSUMMARY}" = "YES" ]; then
        echo "Creating summary file..."
        (cd "${packages}/All" \
-               && ls -t *.t[gb]z | while read n; do pkg_info -X "$n"; done) \
+               && ls -t | grep '\.t[gb]z$' | while read n; do pkg_info -X "$n"; done) \
                | ${gzip_cmd} > "${packages}"/All/pkg_summary.gz
 fi
 



Home | Main Index | Thread Index | Old Index