Subject: Re: cleaning out pkg between each bulk build?
To: NetBSD Packages Technical Discussion List <tech-pkg@NetBSD.ORG>
From: Greg A. Woods <woods@weird.com>
List: tech-pkg
Date: 04/01/2005 00:16:58
[ On Thursday, March 31, 2005 at 16:46:00 (-0500), Todd Vierling wrote: ]
> Subject: Re: cleaning out pkg between each bulk build? (was: CVS commit: pkgsrc/graphics/pgraf)
>
> That cheeky point aside, I've made it my own personal policy to do
> 
>     ${INSTALL_*} foo ${PREFIX}/path/to/bar/
> 
> with that trailing slash, in an attempt to keep this case from occurring.

Keep in mind that on some types of systems on which pkgsrc is expected
to work a trailing slash (or more) at the OS level isn't "special" --
it's logically equivalent to a NUL byte in fact.  I.e. your trick
depends entirely on how whatever ${INSTALL_*} tool it is interprets the
pathname.

-- 
						Greg A. Woods

H:+1 416 218-0098  W:+1 416 489-5852 x122  VE3TCP  RoboHack <woods@robohack.ca>
Planix, Inc. <woods@planix.com>          Secrets of the Weird <woods@weird.com>