Subject: Re: toolchain/32983: pwd -P, found in build.sh, doesn't work with
To: None <toolchain-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Jeremy C. Reed <reed@reedmedia.net>
List: netbsd-bugs
Date: 03/04/2006 15:45:02
The following reply was made to PR toolchain/32983; it has been noted by GNATS.

From: "Jeremy C. Reed" <reed@reedmedia.net>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: toolchain/32983: pwd -P, found in build.sh, doesn't work with
 GNU/Linux
Date: Sat, 4 Mar 2006 07:40:47 -0800 (PST)

 Is this causing a problem with build.sh?
 
 The revision 1.124 says:
 
 "Ignore errors when running pwd -P.  (GNU coreutils incorrectly 
 complains)"
 
 The change in 1.123 was:
 
 -       if [ "${uname_s}" = "SunOS" ]; then
 -               TOP=$(pwd -P)
 -       else
 -               TOP=$(pwd)
 -       fi
 +       TOP=$(/bin/pwd -P)
 
 
 On NetBSD, the -P is the default.
 
 (Also I don't see the -P switch documented in man pages for pwd I found 
 for Solaris on the web.)
 
 
 
 
  Jeremy C. Reed
 
  	  	 	 technical support & remote administration
 	  	 	 http://www.pugetsoundtechnology.com/