NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/50557: build.sh does not run on Nixos



The following reply was made to PR bin/50557; it has been noted by GNATS.

From: coypu%SDF.ORG@localhost
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: bin/50557: build.sh does not run on Nixos
Date: Mon, 30 May 2016 08:23:01 +0000

 Is it fine if it's `env pwd` ... ?
 
 diff --git a/build.sh b/build.sh
 index bd7d2ba..0f8e642 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=$(env pwd -P 2>/dev/null || 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
 


Home | Main Index | Thread Index | Old Index