From 63029a767b2258c5e70f71a95766fd682b45ff11 Mon Sep 17 00:00:00 2001 From: jlam Date: Wed, 15 Jan 2003 20:55:38 +0000 Subject: Make BUILD_DIR always point to a physical path by invoking /bin/pwd instead of relying on the shell's builtin pwd. This makes BUILD_DIR consistently point to the correct directory regardless of the definition of SHELL. This fixes elusive some buildlink2 errors due to the fact that BUILDLINK_DIR is derived from BUILD_DIR and some paths were incorrectly being translated. --- mk/bsd.pkg.subdir.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mk/bsd.pkg.subdir.mk') diff --git a/mk/bsd.pkg.subdir.mk b/mk/bsd.pkg.subdir.mk index 319e3e047b0..fcc09d29c95 100644 --- a/mk/bsd.pkg.subdir.mk +++ b/mk/bsd.pkg.subdir.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.subdir.mk,v 1.50 2003/01/05 13:37:16 dmcmahill Exp $ +# $NetBSD: bsd.pkg.subdir.mk,v 1.51 2003/01/15 20:55:39 jlam Exp $ # Derived from: FreeBSD Id: bsd.port.subdir.mk,v 1.19 1997/03/09 23:10:56 wosch Exp # from: @(#)bsd.subdir.mk 5.9 (Berkeley) 2/1/91 # @@ -212,7 +212,7 @@ fetch-list: @${ECHO} '#!/bin/sh' @${ECHO} '#' @${ECHO} '# This is an auto-generated script, the result of running' - @${ECHO} '# `make fetch-list'"'"' in directory "'"`pwd`"'"' + @${ECHO} '# `make fetch-list'"'"' in directory "'"`${PWD_CMD}`"'"' @${ECHO} '# on host "'"`${UNAME} -n`"'" on "'"`date`"'".' @${ECHO} '#' .if defined(PKGSRCTOP) && !defined(SPECIFIC_PKGS) -- cgit v1.2.3