summaryrefslogtreecommitdiff
path: root/usr.sbin/cron
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2017-03-04 11:38:03 +0000
committerEnji Cooper <ngie@FreeBSD.org>2017-03-04 11:38:03 +0000
commit64a0982bee3db2236df43357e70ce8dddbc21d48 (patch)
tree76664a67496ac3cd9e3d5d272a5a6e430068848a /usr.sbin/cron
parentb71fb1a4aa198495970831c748fa2d132621fe3d (diff)
downloadsrc-test2-64a0982bee3db2236df43357e70ce8dddbc21d48.tar.gz
src-test2-64a0982bee3db2236df43357e70ce8dddbc21d48.zip
Notes
Diffstat (limited to 'usr.sbin/cron')
-rw-r--r--usr.sbin/cron/crontab/Makefile2
-rw-r--r--usr.sbin/cron/lib/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/cron/crontab/Makefile b/usr.sbin/cron/crontab/Makefile
index 9f4311253ac8..7b780edc80e3 100644
--- a/usr.sbin/cron/crontab/Makefile
+++ b/usr.sbin/cron/crontab/Makefile
@@ -10,7 +10,7 @@ PRECIOUSPROG=
WARNS?= 3
-CFLAGS+= -I${.CURDIR}/../cron
+CFLAGS+= -I${.CURDIR:H}/cron
LIBADD= cron md util
diff --git a/usr.sbin/cron/lib/Makefile b/usr.sbin/cron/lib/Makefile
index 51316c17ebf1..d8203c5a4df7 100644
--- a/usr.sbin/cron/lib/Makefile
+++ b/usr.sbin/cron/lib/Makefile
@@ -6,7 +6,7 @@ SRCS= entry.c env.c misc.c
WARNS?= 3
-CFLAGS+= -I${.CURDIR}/../cron
+CFLAGS+= -I${.CURDIR:H}/cron
CFLAGS+= -DLOGIN_CAP -DPAM
.include <bsd.lib.mk>