bug-standards
[Top][All Lists]
Advanced

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

Re: GNU standards: DESTDIR with symlinks


From: Adrian Mariano
Subject: Re: GNU standards: DESTDIR with symlinks
Date: Mon, 26 Sep 2022 17:07:09 -0400

On Mon, Sep 26, 2022 at 04:41:51PM -0400, Paul Smith wrote:
> On Mon, 2022-09-26 at 16:03 -0400, Adrian Mariano wrote:
> > That is, should the symlink include $DESTDIR, so it is valid in-
> > place? In this case, moving the installation to its final location
> > requires that the simlinks be modified.  Or should the symlink refer
> > to the final destination, so it is invalid in-place but valid once
> > the installation is moved?
> 
> Speaking as someone who does a lot of relocating of things, IMO the
> correct solution is that the symlink resolves to a relative path, not a
> fully-qualified path, so that it works correctly regardless of whether
> the installation is used in-place or after relocation.

Surely when this is an option it would be the way to go.  But in my
case, a relative path between the files is not known because the link
is between datadir and sharedstatedir.



reply via email to

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