Author: ngie
Date: Tue Sep 20 16:24:22 2016
New Revision: 306029
URL: https://svnweb.freebsd.org/changeset/base/306029

Log:
  Use SRCTOP instead of the longhand version for defining the path to 
contrib/atf
  
  MFC after:    3 days
  Sponsored by: Dell EMC Isilon

Modified:
  head/libexec/atf/atf-check/Makefile
  head/libexec/atf/atf-sh/Makefile

Modified: head/libexec/atf/atf-check/Makefile
==============================================================================
--- head/libexec/atf/atf-check/Makefile Tue Sep 20 16:14:42 2016        
(r306028)
+++ head/libexec/atf/atf-check/Makefile Tue Sep 20 16:24:22 2016        
(r306029)
@@ -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

Modified: head/libexec/atf/atf-sh/Makefile
==============================================================================
--- head/libexec/atf/atf-sh/Makefile    Tue Sep 20 16:14:42 2016        
(r306028)
+++ head/libexec/atf/atf-sh/Makefile    Tue Sep 20 16:24:22 2016        
(r306029)
@@ -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
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to