aboutsummaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
Diffstat (limited to 'libexec')
-rw-r--r--libexec/atf/atf-check/Makefile2
-rw-r--r--libexec/atf/atf-sh/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/libexec/atf/atf-check/Makefile b/libexec/atf/atf-check/Makefile
index 5bef488fc1b1..ca3c2efb6bfa 100644
--- a/libexec/atf/atf-check/Makefile
+++ b/libexec/atf/atf-check/Makefile
@@ -28,7 +28,7 @@
.include <src.opts.mk>
.include <bsd.init.mk>
-ATF= ${.CURDIR:H:H:H}/contrib/atf
+ATF= ${SRCTOP}/contrib/atf
.PATH: ${ATF}/atf-sh
PROG_CXX= atf-check
diff --git a/libexec/atf/atf-sh/Makefile b/libexec/atf/atf-sh/Makefile
index f00683fa1e58..42cf5a5ed046 100644
--- a/libexec/atf/atf-sh/Makefile
+++ b/libexec/atf/atf-sh/Makefile
@@ -28,7 +28,7 @@
.include <src.opts.mk>
.include <bsd.init.mk>
-ATF= ${.CURDIR:H:H:H}/contrib/atf
+ATF= ${SRCTOP}/contrib/atf
.PATH: ${ATF}/atf-sh
PROG_CXX= atf-sh