bug-make
[Top][All Lists]
Advanced

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

Re: [bug #42690] make unconditionally resolves the current directory


From: Philip Guenther
Subject: Re: [bug #42690] make unconditionally resolves the current directory
Date: Sat, 5 Jul 2014 16:41:34 -0700

On Sat, Jul 5, 2014 at 12:57 PM, anonymous <address@hidden> wrote:
{ cd /tmp && mkdir a && ln -sT a b && cd b && make -w; }

make: Entering directory `/tmp/a'

Why not /tmp/b?  Is there an option to prevent this resolution?
I understand that relative path names must be resolved;
but could you leave directory aliases as they are please?

The best make would be able to do would be to model its behavior on that of "pwd -L": if the PWD environment variable is set to an absolute path with no ".." or "." components that resolves to the process's current directory, then use that instead of the path from getcwd().


This hit me when I tried to make in a directory that had a colon in the name;

Doctor says: "Don't do that!"   make is only one of many program which you will have problems with.


Philip Guenther


reply via email to

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