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 16:19:09 +0000

 On Mon, May 30, 2016 at 01:30:01PM +0000, Robert Elz wrote:
  >  What is best depends whether this is to deal with one specific system,
  >  in which case it is fine to just use /bin/pwd (or wherever it is found)
  >  or whether you want something that is supposed to work everywhere.
  >  
  >  If the latter, then perhaps
  >  
  >  	TOP=$( (exec pwd -P 2>/dev/null) || (exec pwd 2>/dev/null) )
 
 It's supposed to work everywhere and not be tripped up by known ksh
 bugs. This form might serve...
 
 -- 
 David A. Holland
 dholland%netbsd.org@localhost
 


Home | Main Index | Thread Index | Old Index