aboutsummaryrefslogtreecommitdiffstats
path: root/shell_cmds/locate
diff options
context:
space:
mode:
Diffstat (limited to 'shell_cmds/locate')
-rw-r--r--shell_cmds/locate/bigram/Makefile2
-rw-r--r--shell_cmds/locate/code/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/shell_cmds/locate/bigram/Makefile b/shell_cmds/locate/bigram/Makefile
index 1740f30..2c5fc1b 100644
--- a/shell_cmds/locate/bigram/Makefile
+++ b/shell_cmds/locate/bigram/Makefile
@@ -3,6 +3,6 @@ MAN= locate.bigram.8
BINDIR=/usr/libexec
-CFLAGS+=-I../locate
+CFLAGS+=-I${.CURDIR}/../locate
.include <bsd.prog.mk>
diff --git a/shell_cmds/locate/code/Makefile b/shell_cmds/locate/code/Makefile
index 4c06f77..1d3e5ea 100644
--- a/shell_cmds/locate/code/Makefile
+++ b/shell_cmds/locate/code/Makefile
@@ -3,6 +3,6 @@ MAN= locate.code.8
BINDIR=/usr/libexec
-CFLAGS+=-I../locate
+CFLAGS+=-I${.CURDIR}/../locate
.include <bsd.prog.mk>