summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pkg/pkg.c
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2013-11-03 07:31:54 +0000
committerdelphij <delphij@FreeBSD.org>2013-11-03 07:31:54 +0000
commitbce61ff508aed35c64d3060d1db5a8b1f92d7e2f (patch)
tree33db8d56cc5bcc0ff1022c16a53097013764f44e /usr.sbin/pkg/pkg.c
parentbaae40831df2ab7a71d9ed4b37cd15e07eb04ab2 (diff)
downloadFreeBSD-src-bce61ff508aed35c64d3060d1db5a8b1f92d7e2f.zip
FreeBSD-src-bce61ff508aed35c64d3060d1db5a8b1f92d7e2f.tar.gz
MFC r257350:
In r257079, SRCDIR is pointed to ${.CURDIR} when not set. However, Makefile.inc1 is being called in sub-make's where make(1) would, by default, implicitly chdir(2) to ${.OBJDIR} before executing any targets. This would make some targets, like delete-old, when trying to derive various variables introduced by change r256921 using ``make -f Makefile.inc1'' that also rely on SRCDIR to fail. This changeset adds an explicit cd ${.CURDIR} before these unwrapped make calls, making them in line with the other ones that are already being wrapped with the explicit chdir's. Approved by: re (hrs)
Diffstat (limited to 'usr.sbin/pkg/pkg.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud