Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Feb 2003 20:45:46 +0200
From:      Sheldon Hearn <sheldonh@starjuice.net>
To:        Simon 'portlint' Schubert <corecode@corecode.ath.cx>
Cc:        ports@freebsd.org
Subject:   Re: [PATCH] makesum should not change ownership of distinfo
Message-ID:  <20030220184546.GC13372@starjuice.net>
In-Reply-To: <20030220192508.165e1fad.corecode@corecode.ath.cx>
References:  <20030218100516.GE823@starjuice.net> <20030220192508.165e1fad.corecode@corecode.ath.cx>

next in thread | previous in thread | raw e-mail | index | archive | help
On (2003/02/20 19:25), Simon 'portlint' Schubert wrote:

> > -	@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.

I didn't do that because,

1) I find it less readable, and
2) I've hit a shell that couldn't do it before, although I can't for the
   life of me remember which one.

That said, I don't care about the implementation; so long as the
behaviour changes as requested. :-)

Ciao,
Sheldon.

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?20030220184546.GC13372>