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: David Holland <dholland-bugs%netbsd.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 03:31:32 +0000

 On Sun, May 29, 2016 at 06:05:01PM +0000, coypu%SDF.ORG@localhost wrote:
  >  Any reason not to apply this?
  >  
  >  -	TOP=$(/bin/pwd -P 2>/dev/null || /bin/pwd 2>/dev/null)
  >  +	TOP=$(pwd -P 2>/dev/null || pwd 2>/dev/null)
 
 You probably need to use /bin/pwd if possible to avoid the pwd
 builtins of some shells... specifically ksh derivates which have this
 strange fetish about providing wrong results for pwd.
 
 -- 
 David A. Holland
 dholland%netbsd.org@localhost
 


Home | Main Index | Thread Index | Old Index