]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r209653: sh: Use $PWD instead of getcwd() for \w \W prompt expansions.
authorjilles <jilles@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 9 Oct 2010 12:57:06 +0000 (12:57 +0000)
committerjilles <jilles@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 9 Oct 2010 12:57:06 +0000 (12:57 +0000)
commit384b17c68cb3051c3cef2d3428b14aa9fffd1e26
treec696db3bb7273054ee6f7ba1bf088fc2c38b80e5
parentb22ceda5f00ef1cb32d3413fe5f52c9f8e5e8891
MFC r209653: sh: Use $PWD instead of getcwd() for \w \W prompt expansions.

This ensures that the logical working directory (which may include
symlinks) is shown and is similar to the default behaviour of the pwd
builtin.

git-svn-id: svn://svn.freebsd.org/base/stable/8@213654 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
bin/sh/parser.c