Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Nov 2002 11:24:20 -0500
From:      Mikhail Teterin <mi+mx@aldan.algebra.com>
To:        Will Andrews <will@csociety.org>, Doug Barton <DougB@FreeBSD.org>
Cc:        Edwin Groothuis <edwin@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   REINPLACE_CMD and the useless .bak files (Re: cvs commit: ports/net/firedns/files patch-firemake.libs)
Message-ID:  <200211191124.21000.mi%2Bmx@aldan.algebra.com>
In-Reply-To: <20021119130550.GK79926@procyon.firepipe.net>
References:  <200211152259.gAFMxJwv052222@repoman.freebsd.org> <3DD9EB57.33F38CDE@FreeBSD.org> <20021119130550.GK79926@procyon.firepipe.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 19 November 2002 08:05 am, Will Andrews wrote:
= Also, REINPLACE_CMD [...] doesn't leave a temp file

That was the intention of REINPLACE_CMD, but by default it does leave
the "turds"[1] around. The only difference will be, that the "old"
configure will be named configure.bak instead of configure.Patched.

Unless the REINPLACE_ARGS is set to ``-i ""'' by the port, that is.

[1] This is the word used by at least one portmgr member and
REINPLACE_CMD (over regular sed(1)) proponent at the time of
REINPLACE_CMD introduction and debate. REINPLACE_CMD's ability NOT to
leave the .bak (or .orig) files around was one of his points -- advanced
with the unpleasantly robust language, I must add.

Now, that the -i "" works reliably, can we turn it on?

	 .if defined(USE_REINPLACE)
	-REINPLACE_ARGS?=        -i.bak
	+REINPLACE_ARGS?=        -i ""

Yours,

	-mi


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200211191124.21000.mi%2Bmx>