diff options
author | udeved <artoo@manjaro.org> | 2017-06-09 23:03:20 +0200 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2017-06-12 10:39:44 -0500 |
commit | 199a210d2fbc524c9c400a06f832dabffd7ed1b3 (patch) | |
tree | 147be255c47e5d9e858e08c7bd2a18fa02dcbd35 /scripts | |
parent | 5b7667af32effddf867a5d021c66d43f0645d374 (diff) |
scripts/Makefile: make symlinks absolute instead of relative
This closes #142.
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/Makefile b/scripts/Makefile index 5cca07bc..b0af29a9 100644 --- a/scripts/Makefile +++ b/scripts/Makefile @@ -17,12 +17,12 @@ endif _installafter: ifeq (${OS},Linux) ${INSTALL} -d ${DESTDIR}${SBINDIR} - ln -sf ../${DIR}/rc-sstat ${DESTDIR}/${SBINDIR}/rc-sstat + ln -sf ${DIR}/rc-sstat ${DESTDIR}/${SBINDIR}/rc-sstat ifeq (${MKSYSVINIT},yes) - 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 ${DIR}/halt ${DESTDIR}/${SBINDIR}/halt + ln -sf ${DIR}/poweroff ${DESTDIR}/${SBINDIR}/poweroff + ln -sf ${DIR}/reboot ${DESTDIR}/${SBINDIR}/reboot + ln -sf openrc-shutdown ${DESTDIR}/${SBINDIR}/shutdown ln -sf openrc-init ${DESTDIR}/${SBINDIR}/init endif endif |