tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: pkgsrc/pkgtools/rdigest



On Wed, Dec 30, 2015 at 04:58:54PM +0100, Thomas Klausner wrote:
> On Tue, Dec 29, 2015 at 05:00:14AM +0000, David Holland wrote:
> > Module Name:	pkgsrc
> > Committed By:	dholland
> > Date:		Tue Dec 29 05:00:14 UTC 2015
> > 
> > Modified Files:
> > 	pkgsrc/pkgtools/rdigest: Makefile
> > 
> > Log Message:
> > Use canonical relative path.
> 
> (this removes ${.CURDIR} before a path)
> 
> We often use ${.CURDIR} when setting variables like DISTINFO_FILE or
> PATCHES_DIR.
> 
> Not sure why. Can anyone shed a light on this? If we don't need
> ${.CURDIR} it's easier to read/write and we should clean up pkgsrc for
> it.

I find the version with .CURDIR easier to reason about. Often, .PARSEDIR
would be even better.

Joerg


Home | Main Index | Thread Index | Old Index