diff options
author | hrs <hrs@FreeBSD.org> | 2006-02-08 11:18:29 +0000 |
---|---|---|
committer | hrs <hrs@FreeBSD.org> | 2006-02-08 11:18:29 +0000 |
commit | 8c6fee91dbcfe15c52ca0a758a76ae272e067db1 (patch) | |
tree | 1defb3ef629a37fda87cf47511662463b5657d3b | |
parent | 74f8e63a104485f17205e2a3e446e00f968c324c (diff) | |
download | FreeBSD-src-8c6fee91dbcfe15c52ca0a758a76ae272e067db1.zip FreeBSD-src-8c6fee91dbcfe15c52ca0a758a76ae272e067db1.tar.gz |
Fix a bug which puts an incorrect checksum of CHECKSUM.MD5
into the CHECKSUM.MD5 file itself.
Approved by: re (scottl)
MFC after: 3 days
-rw-r--r-- | release/Makefile | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/release/Makefile b/release/Makefile index b30ae9c..1b9b506 100644 --- a/release/Makefile +++ b/release/Makefile @@ -667,10 +667,11 @@ release.6: -czf ${RD}/dists/ports/ports.tgz -C /usr ports @cp ${.CURDIR}/scripts/ports-install.sh ${RD}/dists/ports/install.sh @(cd ${RD}/dists/ports; \ - rm -f .CHECKSUM.MD5 CHECKSUM.SHA256; \ + rm -f CHECKSUM.MD5 CHECKSUM.SHA256; \ md5 * > .CHECKSUM.MD5; \ - sha256 * > CHECKSUM.SHA256; \ - mv .CHECKSUM.MD5 CHECKSUM.MD5) + sha256 * > .CHECKSUM.SHA256; \ + mv .CHECKSUM.MD5 CHECKSUM.MD5; \ + mv .CHECKSUM.SHA256 CHECKSUM.SHA256) @echo "ports distribution is finished." .endif touch ${.TARGET} @@ -702,10 +703,11 @@ release.7: done .endif (cd ${RD}/dists/src; \ - rm -f .CHECKSUM.MD5 CHECKSUM.SHA256; \ + rm -f CHECKSUM.MD5 CHECKSUM.SHA256; \ md5 * > .CHECKSUM.MD5; \ - sha256 * > CHECKSUM.SHA256; \ - mv .CHECKSUM.MD5 CHECKSUM.MD5) + sha256 * > .CHECKSUM.SHA256; \ + mv .CHECKSUM.MD5 CHECKSUM.MD5; \ + mv .CHECKSUM.SHA256 CHECKSUM.SHA256) @echo "src distribution is finished." .endif touch ${.TARGET} @@ -1106,10 +1108,11 @@ doTARBALL: true; \ fi; \ ( cd ${RD}/dists/${TD}; \ - rm -f .CHECKSUM.MD5 CHECKSUM.SHA256; \ + rm -f CHECKSUM.MD5 CHECKSUM.SHA256; \ md5 * > .CHECKSUM.MD5; \ - sha256 * > CHECKSUM.SHA256; \ - mv .CHECKSUM.MD5 CHECKSUM.MD5) \ + sha256 * > .CHECKSUM.SHA256; \ + mv .CHECKSUM.MD5 CHECKSUM.MD5; \ + mv .CHECKSUM.SHA256 CHECKSUM.SHA256) \ ) doRELEASE: release.1 release.2 ${DOCREL} release.3 release.4 \ |