Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/mk Oops, PWD is really something else in most environm...



details:   https://anonhg.NetBSD.org/src/rev/67dfde4e317f
branches:  trunk
changeset: 473634:67dfde4e317f
user:      kim <kim%NetBSD.org@localhost>
date:      Thu Jun 10 20:48:28 1999 +0000

description:
Oops, PWD is really something else in most environments.
Call this variable PAWD instead.

diffstat:

 share/mk/bsd.obj.mk |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (23 lines):

diff -r f972cc16b437 -r 67dfde4e317f share/mk/bsd.obj.mk
--- a/share/mk/bsd.obj.mk       Thu Jun 10 20:34:26 1999 +0000
+++ b/share/mk/bsd.obj.mk       Thu Jun 10 20:48:28 1999 +0000
@@ -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 @@
 .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"; \



Home | Main Index | Thread Index | Old Index