chicken-hackers
[Top][All Lists]
Advanced

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

Re: [Chicken-hackers] [PATCH] Expand file installation paths in generate


From: felix . winkelmann
Subject: Re: [Chicken-hackers] [PATCH] Expand file installation paths in generated install scripts
Date: Sat, 09 Jun 2018 08:35:11 +0200

> Hello again,
>
> Here's a small patch that adds a "best effort" attempt to do the right
> thing regarding #1469 in chicken-install. We should still consider using
> relative pathnames unsupported, but at least with this change any files
> that are built successfully will end up installed to the right place.
>
> (Mostly, though, they just won't build successfully, unless the user has
> also put the install repository on the CHICKEN_REPOSITORY_PATH as an
> absolute pathname.)

I understand the motivation but relative pathnames in these kind of env 
variables
are a recipe for desaster - it's a global setting that may be used from all 
sorts of
places. Once we start addressing this in one place, other places will follow and
we end up taking measures for all sorts of stupid corner cases. I'd rather 
forbid
relative pathnames than trying to be more convenient than is healthy...


felix




reply via email to

[Prev in Thread] Current Thread [Next in Thread]