Update of bug #57914 (project make):

                  Status:                    None => Not A Bug              
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #6:

Just as another proof that it's a feature of the shell: if you don't use the
shell's built-in pwd command but instead use /bin/pwd, you'll see that just
like make (also not a built-in command in the shell :-)) it shows the physical
path:


$ mkdir /tmp/x1

$ ln -s /tmp/x1 foo

$ (cd foo && pwd)
/home/me/foo

$ (cd foo && /bin/pwd)
/tmp/x1


I don't know about cmake, but I can only assume that it's using the PWD
environment variable it inherited from the shell to determine the current
working directory, rather than asking the operating system like /bin/pwd (and
make) do.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?57914>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/


Reply via email to