diff --git a/libexec/atf/atf-check/Makefile b/libexec/atf/atf-check/Makefile index 5bef488fc1b..ca3c2efb6bf 100644 --- a/libexec/atf/atf-check/Makefile +++ b/libexec/atf/atf-check/Makefile @@ -28,7 +28,7 @@ .include .include -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 f00683fa1e5..42cf5a5ed04 100644 --- a/libexec/atf/atf-sh/Makefile +++ b/libexec/atf/atf-sh/Makefile @@ -28,7 +28,7 @@ .include .include -ATF= ${.CURDIR:H:H:H}/contrib/atf +ATF= ${SRCTOP}/contrib/atf .PATH: ${ATF}/atf-sh PROG_CXX= atf-sh