commit: 1cf0c98514c6b08dd56c363e89007e791dbc0589 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 23:08:14 2017 +0000 URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=1cf0c985
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