diff options
author | tron <tron@pkgsrc.org> | 2001-04-22 08:00:41 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2001-04-22 08:00:41 +0000 |
commit | d873219a8702a96cae6522a7e13ed4c4eb3c9bf6 (patch) | |
tree | d8cde0ca68a950b04d2e216c87a1e7ab20ffa4ed | |
parent | cc65178a569f86c209df3c2faead6e28bb481824 (diff) | |
download | pkgsrc-d873219a8702a96cae6522a7e13ed4c4eb3c9bf6.tar.gz |
Fix creation of "Size" entries in "distinfo" if the distfile is a softlink.
-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; \ |