This commit is contained in:
kmarisa 2019-01-10 05:39:09 +00:00 committed by GitHub
commit 9c253e2313
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -506,7 +506,7 @@ initdefaults()
# XXX Except that doesn't work on Solaris. Or many Linuces.
#
unset PWD
TOP=$(/bin/pwd -P 2>/dev/null || /bin/pwd 2>/dev/null)
TOP=$(/usr/bin/env pwd -P 2>/dev/null || /usr/bin/env pwd 2>/dev/null)
# The user can set HOST_SH in the environment, or we try to
# guess an appropriate value. Then we set several other