diff --git a/build.sh b/build.sh index 1c1a3501d3e1..20f0cbf61c3d 100755 --- a/build.sh +++ b/build.sh @@ -1,5 +1,5 @@ #! /usr/bin/env sh -# $NetBSD: build.sh,v 1.122 2003/10/26 03:12:21 lukem Exp $ +# $NetBSD: build.sh,v 1.123 2003/10/31 01:46:39 lukem Exp $ # # Copyright (c) 2001-2003 The NetBSD Foundation, Inc. # All rights reserved. @@ -87,11 +87,7 @@ initdefaults() # XXX Except that doesn't work on Solaris. # unset PWD - if [ "${uname_s}" = "SunOS" ]; then - TOP=$(pwd -P) - else - TOP=$(pwd) - fi + TOP=$(/bin/pwd -P) # Set defaults. # @@ -833,7 +829,7 @@ createmakewrapper() eval cat <