diff options
author | tron <tron> | 2001-04-22 08:00:41 +0000 |
---|---|---|
committer | tron <tron> | 2001-04-22 08:00:41 +0000 |
commit | 80271db78de47b4a8d7d6ea78ad79635cd3eeb0a (patch) | |
tree | d8cde0ca68a950b04d2e216c87a1e7ab20ffa4ed /mk | |
parent | 898b1982374a5428bda190825da0d245eb80de2f (diff) | |
download | pkgsrc-80271db78de47b4a8d7d6ea78ad79635cd3eeb0a.tar.gz |
Fix creation of "Size" entries in "distinfo" if the distfile is a softlink.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/bsd.pkg.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index e3e94ebc804..a7990fe6222 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.726 2001/04/22 06:29:37 jlam Exp $ +# $NetBSD: bsd.pkg.mk,v 1.727 2001/04/22 08:00:41 tron Exp $ # # This file is in the public domain. # @@ -2500,7 +2500,7 @@ makesum: fetch uptodate-digest for sumfile in "" ${_CKSUMFILES}; do \ if [ "X$$sumfile" = "X" ]; then continue; fi; \ ${DIGEST} ${DIGEST_ALGORITHM} $$sumfile >> $$newfile; \ - ${LS} -l $$sumfile | ${AWK} '{ print "Size (" $$9 ") = " $$5 " bytes" }' >> $$newfile; \ + wc -c $$sumfile | ${AWK} '{ print "Size (" $$2 ") = " $$1 " bytes" }' >> $$newfile; \ done; \ for ignore in "" ${_IGNOREFILES}; do \ if [ "X$$ignore" = "X" ]; then continue; fi; \ |