removed absolute path to /bin/pwd in build.sh so it compiles on nixos
This commit is contained in:
parent
4db99f4012
commit
ca6b2d01f0
2
build.sh
2
build.sh
|
|
@ -506,7 +506,7 @@ initdefaults()
|
||||||
# XXX Except that doesn't work on Solaris. Or many Linuces.
|
# XXX Except that doesn't work on Solaris. Or many Linuces.
|
||||||
#
|
#
|
||||||
unset PWD
|
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
|
# The user can set HOST_SH in the environment, or we try to
|
||||||
# guess an appropriate value. Then we set several other
|
# guess an appropriate value. Then we set several other
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user