commit: 5b7667af32effddf867a5d021c66d43f0645d374 Author: udeved <artoo <AT> manjaro <DOT> org> AuthorDate: Fri Jun 9 19:58:59 2017 +0000 Commit: William Hubbs <williamh <AT> gentoo <DOT> org> CommitDate: Mon Jun 12 15:38:47 2017 +0000 URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=5b7667af
scripts/Makefile: respect SBINDIR with MKSYSVINIT This is for #142. scripts/Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/Makefile b/scripts/Makefile index faa46b0e..5cca07bc 100644 --- a/scripts/Makefile +++ b/scripts/Makefile @@ -19,11 +19,11 @@ ifeq (${OS},Linux) ${INSTALL} -d ${DESTDIR}${SBINDIR} ln -sf ../${DIR}/rc-sstat ${DESTDIR}/${SBINDIR}/rc-sstat ifeq (${MKSYSVINIT},yes) - ln -sf ../${DIR}/halt ${DESTDIR}/sbin/halt - ln -sf ../${DIR}/poweroff ${DESTDIR}/sbin/poweroff - ln -sf ../${DIR}/reboot ${DESTDIR}/sbin/reboot - ln -sf ../${DIR}/shutdown ${DESTDIR}/sbin/shutdown - ln -sf openrc-init ${DESTDIR}/sbin/init + ln -sf ../${DIR}/halt ${DESTDIR}/${SBINDIR}/halt + ln -sf ../${DIR}/poweroff ${DESTDIR}/${SBINDIR}/poweroff + ln -sf ../${DIR}/reboot ${DESTDIR}/${SBINDIR}/reboot + ln -sf ../${DIR}/shutdown ${DESTDIR}/${SBINDIR}/shutdown + ln -sf openrc-init ${DESTDIR}/${SBINDIR}/init endif endif