From 04d4cbe3af202f71cd828a8d8f5a3de113f61a2f Mon Sep 17 00:00:00 2001 From: kim Date: Thu, 10 Jun 1999 20:48:28 +0000 Subject: [PATCH] Oops, PWD is really something else in most environments. Call this variable PAWD instead. --- share/mk/bsd.obj.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/share/mk/bsd.obj.mk b/share/mk/bsd.obj.mk index 1aa12763ee2c..a9f873f5bb66 100644 --- a/share/mk/bsd.obj.mk +++ b/share/mk/bsd.obj.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.obj.mk,v 1.19 1999/06/10 20:34:26 tls Exp $ +# $NetBSD: bsd.obj.mk,v 1.20 1999/06/10 20:48:28 kim Exp $ .if !target(__initialized_obj__) __initialized_obj__: @@ -27,11 +27,11 @@ __usrobjdirpf= .endif .endif -PWD?= /bin/pwd +PAWD?= /bin/pwd obj: @cd ${.CURDIR}; rm -f ${__objdir} > /dev/null 2>&1 || true; \ - here='${PWD}'; subdir=$${here#${BSDSRCDIR}/}; \ + here=`${PAWD}`; subdir=$${here#${BSDSRCDIR}/}; \ if test $$here != $$subdir ; then \ dest=${__usrobjdir}/$$subdir${__usrobjdirpf} ; \ echo "$$here/${__objdir} -> $$dest"; \