Revert previous for now; resolvepath() has to work for file paths too.

This commit is contained in:
uebayasi 2014-04-29 11:52:51 +00:00
parent 18894e0b3b
commit f03da5f1d6

View File

@ -1,5 +1,5 @@
#! /usr/bin/env sh
# $NetBSD: build.sh,v 1.279 2014/04/29 06:51:57 uebayasi Exp $
# $NetBSD: build.sh,v 1.280 2014/04/29 11:52:51 uebayasi Exp $
#
# Copyright (c) 2001-2011 The NetBSD Foundation, Inc.
# All rights reserved.
@ -889,7 +889,6 @@ resolvepath()
val="${TOP}/${val%/}"
;;
esac
val="$( /bin/mkdir -p ${val} && cd ${val} && /bin/pwd )"
eval ${var}=\"\${val}\"
}
@ -1747,7 +1746,7 @@ createmakewrapper()
eval cat <<EOF ${makewrapout}
#! ${HOST_SH}
# Set proper variables to allow easy "make" building of a NetBSD subtree.
# Generated from: \$NetBSD: build.sh,v 1.279 2014/04/29 06:51:57 uebayasi Exp $
# Generated from: \$NetBSD: build.sh,v 1.280 2014/04/29 11:52:51 uebayasi Exp $
# with these arguments: ${_args}
#