Date: Thu, 20 Feb 2003 19:25:08 +0100 From: "Simon 'portlint' Schubert" <corecode@corecode.ath.cx> To: Sheldon Hearn <sheldonh@starjuice.net> Cc: ports@freebsd.org Subject: Re: [PATCH] makesum should not change ownership of distinfo Message-ID: <20030220192508.165e1fad.corecode@corecode.ath.cx> In-Reply-To: <20030218100516.GE823@starjuice.net> References: <20030218100516.GE823@starjuice.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--=.?+8q4(9h,PHm+S Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Tue, 18 Feb 2003 12:05:16 +0200 Sheldon Hearn <sheldonh@starjuice.net> wrote: > Index: Mk/bsd.port.mk > =================================================================== > RCS file: /home/ncvs/ports/Mk/bsd.port.mk,v > retrieving revision 1.440 > diff -u -d -r1.440 bsd.port.mk > --- Mk/bsd.port.mk 16 Feb 2003 21:22:15 -0000 1.440 > +++ Mk/bsd.port.mk 18 Feb 2003 09:59:59 -0000 > @@ -3219,7 +3219,7 @@ > .if !target(makesum) > makesum: > @cd ${.CURDIR} && ${MAKE} ${__softMAKEFLAGS} fetch NO_CHECKSUM=yes > - @if [ -f ${MD5_FILE} ]; then ${RM} -f ${MD5_FILE}; fi > + @if [ -f ${MD5_FILE} ]; then ${CAT} /dev/null > ${MD5_FILE}; fi how about: @if [ -f ${MD5_FILE} ]; then > ${MD5_FILE}; fi should work too. cheers simon -- /"\ http://corecode.ath.cx/#donate \ / \ ASCII Ribbon Campaign / \ Against HTML Mail and News --=.?+8q4(9h,PHm+S Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (GNU/Linux) iD8DBQE+VR2Hr5S+dk6z85oRAk5IAJ9vzCLfJ1axYhCiiptdpFGB6IfLRACg44AY HGfZ135JRJQBDRemCZMRwkI= =RZY4 -----END PGP SIGNATURE----- --=.?+8q4(9h,PHm+S-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030220192508.165e1fad.corecode>