From ca6b2d01f0172415f7197b193dfd718c624a000c Mon Sep 17 00:00:00 2001 From: kmarisa Date: Thu, 10 Jan 2019 00:33:33 -0500 Subject: [PATCH] removed absolute path to /bin/pwd in build.sh so it compiles on nixos --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index f75c27274..5e1047485 100755 --- a/build.sh +++ b/build.sh @@ -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