8eac1f9477
Unset PWD if it is incorrect and no value for it can be determined. This preserves the logical current directory across shell invocations. Example (assuming /home is a symlink): $ cd $ pwd /home/foo $ sh $ pwd /home/foo Formerly the second pwd would show the physical path (symlinks resolved). |
||
---|---|---|
.. | ||
exitstatus1.0 | ||
mail1.0 | ||
mail2.0 | ||
pwd1.0 | ||
pwd2.0 |