diff options
-rw-r--r-- | mk/bulk/sort-packages | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/mk/bulk/sort-packages b/mk/bulk/sort-packages index 4fe54851c37..ef6feca4264 100644 --- a/mk/bulk/sort-packages +++ b/mk/bulk/sort-packages @@ -1,5 +1,5 @@ #! /bin/sh -# $NetBSD: sort-packages,v 1.2 2006/08/01 06:10:44 rillig Exp $ +# $NetBSD: sort-packages,v 1.3 2006/08/01 07:50:04 rillig Exp $ # This program scans all binary packages in the current directory and # creates three lists of files in OUTDIR: @@ -28,7 +28,9 @@ vulnerable_packages="${OUTDIR}/vulnerable_packages" newline=" " -rm -f "${regular_packages}" "${restricted_packages}" "${vulnerable_packages}" +: > "${regular_packages}" +: > "${restricted_packages}" +: > "${vulnerable_packages}" for pkg in *${PKG_SUFX}; do build_info=`${PKG_INFO} -B "${pkg}"` @@ -36,9 +38,9 @@ for pkg in *${PKG_SUFX}; do # Note: this code needs to be that complicated because licensing # issues are critical to pkgsrc, and we really don't want # anything unexpected to happen here. The worst case would be - # some file is sorted wrongly because some change in the output - # of pkg_info which had not been foreseen. Therefore it is - # better to check as strictly as possible to make those + # that some file is sorted wrongly because some change in the + # output of pkg_info which had not been foreseen. Therefore it + # is better to check as strictly as possible to make those # changes immediately visible. no_bin_on_ftp="unknown" |