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
This commit is contained in:
parent
eb2da9a51f
commit
4a457aa663
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=155457
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user