summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sbin/nologin/Makefile2
-rw-r--r--usr.sbin/nologin/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/sbin/nologin/Makefile b/sbin/nologin/Makefile
index 57ac989..e30ea08 100644
--- a/sbin/nologin/Makefile
+++ b/sbin/nologin/Makefile
@@ -7,6 +7,6 @@ nologin depend lint tags:
beforeinstall:
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
- ${.CURDIR}/nologin.sh ${DESTDIR}/sbin/nologin
+ ${.CURDIR}/nologin.sh ${DESTDIR}${BINDIR}/nologin
.include <bsd.prog.mk>
diff --git a/usr.sbin/nologin/Makefile b/usr.sbin/nologin/Makefile
index 57ac989..e30ea08 100644
--- a/usr.sbin/nologin/Makefile
+++ b/usr.sbin/nologin/Makefile
@@ -7,6 +7,6 @@ nologin depend lint tags:
beforeinstall:
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
- ${.CURDIR}/nologin.sh ${DESTDIR}/sbin/nologin
+ ${.CURDIR}/nologin.sh ${DESTDIR}${BINDIR}/nologin
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud