diff options
author | dmcmahill <dmcmahill@pkgsrc.org> | 2006-07-28 18:41:53 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill@pkgsrc.org> | 2006-07-28 18:41:53 +0000 |
commit | 99b57ce645d233db06ff51ba3d732cab0bf647d1 (patch) | |
tree | fcd72604d628d6197ca50a18c84d4d877f207233 /mk | |
parent | ecac72c956f48cf448e28b92a89b523e62cd3fc3 (diff) | |
download | pkgsrc-99b57ce645d233db06ff51ba3d732cab0bf647d1.tar.gz |
remove spurious empty line at the top of the summary files
Diffstat (limited to 'mk')
-rwxr-xr-x | mk/scripts/binpkg-cache | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mk/scripts/binpkg-cache b/mk/scripts/binpkg-cache index 4b10400b0d5..2c4e6589211 100755 --- a/mk/scripts/binpkg-cache +++ b/mk/scripts/binpkg-cache @@ -1,6 +1,6 @@ #!/bin/sh # -# $NetBSD: binpkg-cache,v 1.11 2006/07/28 02:41:07 dmcmahill Exp $ +# $NetBSD: binpkg-cache,v 1.12 2006/07/28 18:41:53 dmcmahill Exp $ # # Script for generating a cache file with information about # all binary packages contained in a directory. @@ -215,7 +215,8 @@ process_binpkg_dir(){ # if test "X${need_update}" = "Xyes" ; then echo "pkgcache_version ${cacheversion}" > ${tmpd}/${cachefile} - echo "" > ${tmpd}/${summaryfile} + rm -f ${tmpd}/${summaryfile} + touch ${tmpd}/${summaryfile} for f in ${d}/*${PKG_SUFX} ; do fn=`grep "^${d} " ${all_dirs} | ${AWK} '{print $2}'`"/"`basename ${f}` if test "X${DEBUG}" = "Xyes" ; then |