diff options
Diffstat (limited to 'mk/scripts/binpkg-cache')
-rwxr-xr-x | mk/scripts/binpkg-cache | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/mk/scripts/binpkg-cache b/mk/scripts/binpkg-cache index c20ea5ffeec..07951797b2f 100755 --- a/mk/scripts/binpkg-cache +++ b/mk/scripts/binpkg-cache @@ -1,6 +1,6 @@ #!/bin/sh # -# $NetBSD: binpkg-cache,v 1.13 2006/07/28 20:52:35 dmcmahill Exp $ +# $NetBSD: binpkg-cache,v 1.14 2006/12/15 12:46:24 martti Exp $ # # Script for generating a cache file with information about # all binary packages contained in a directory. @@ -209,7 +209,7 @@ process_binpkg_dir(){ fi fi - if test "${build_summary}" = "yes" -a ! -f ${d}/${summaryfile}.gz ; then + if test "${build_summary}" = "yes" -a ! -f ${d}/${summaryfile}.gz ; then echo "${tab}Summary file ${d}/${summaryfile}.gz is missing and will be created." need_update=yes fi @@ -219,10 +219,10 @@ process_binpkg_dir(){ fi # FIX_ME - # We should use stale_entries in a way where we only update the + # We should use stale_entries in a way where we only update the # cache file entries corresponding to these if we're rebuilding # due to stale entries. That should save a good bit of time. - # + # if test "X${need_update}" = "Xyes" ; then echo "pkgcache_version ${cacheversion}" > ${tmpd}/${cachefile} rm -f ${tmpd}/${summaryfile} @@ -373,7 +373,7 @@ do clean_and_exit1 ;; - *) + *) break ;; @@ -391,7 +391,7 @@ if test ! -d ${PACKAGES} ; then clean_and_exit2 fi -# put a trailing / after ${PACKAGES} in case ${PACKAGES} is +# put a trailing / after ${PACKAGES} in case ${PACKAGES} is # a link. # pass 1, we find all directories under PACKAGES. Note that this |