cvs commit: src/release Makefile

Ken Smith kensmith at cse.Buffalo.EDU
Wed Sep 28 05:52:24 PDT 2005


On Wed, 2005-09-28 at 13:46 +0100, Ceri Davies wrote:
> On Wed, Sep 28, 2005 at 12:39:00PM +0000, Ken Smith wrote:
> > kensmith    2005-09-28 12:39:00 UTC
> > | @@ -654,8 +654,10 @@ 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; \
> > | -	  md5 * > CHECKSUM.MD5)
> > | +	  rm -f .CHECKSUM.MD5 CHECKSUM.SHA256; \
> > | +	  md5 * > .CHECKSUM.MD5; \
> > | +	  sha256 * > CHECKSUM.SHA256; \
> > | +	  mv .CHECKSUM.MD5 CHECKSUM.MD5)
> 
> Curiosity overcomes me; why the "md5 > .blah; mv .blah blah" dance?

So that CHECKSUM.MD5 doesn't wind up being one of the files that get
checksum-ed and included in CHECKSUM.SHA256.  It's not a huge deal I
suppose but CHECKSUM.SHA256 wouldn't be in CHECKSUM.MD5 so this keeps
them consistent.

-- 
                                                Ken Smith
- From there to here, from here to      |       kensmith at cse.buffalo.edu
  there, funny things are everywhere.   |
                      - Theodore Geisel |

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20050928/629a4e9c/attachment.bin


More information about the cvs-src mailing list