aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-05-13 00:03:10 +0000
committerRoy Marples <roy@marples.name>2008-05-13 00:03:10 +0000
commitb7e598ad91517abdd43f7fbce0fb10b22810ef12 (patch)
tree91101bfbc4a03434fba065bdcd2232ad2b00a75f /src
parent5c114d9430acb39e219bfedf2a6426f05339f68a (diff)
Install symlinks correctly, thanks to zlin.
Diffstat (limited to 'src')
-rw-r--r--src/rc/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rc/Makefile b/src/rc/Makefile
index 2edc51eb..17d63308 100644
--- a/src/rc/Makefile
+++ b/src/rc/Makefile
@@ -55,13 +55,13 @@ install: all
${INSTALL} -d ${DESTDIR}${SBINDIR}
${INSTALL} -m ${BINMODE} ${PROG} ${DESTDIR}${SBINDIR}
${INSTALL} -d ${DESTDIR}${BINDIR}
- for x in ${BINLINKS}; do ln -fs ${DESTDIR}${SBINDIR}/${PROG} ${DESTDIR}${BINDIR}/$$x; done
+ for x in ${BINLINKS}; do ln -fs ${SBINDIR}/${PROG} ${DESTDIR}${BINDIR}/$$x; done
${INSTALL} -d ${DESTDIR}${SBINDIR}
for x in ${SBINLINKS}; do ln -fs ${PROG} ${DESTDIR}${SBINDIR}/$$x; done
${INSTALL} -d ${DESTDIR}${LINKDIR}/bin
- for x in $(RC_BINLINKS); do ln -fs ${DESTDIR}${SBINDIR}/${PROG} ${DESTDIR}${LINKDIR}/bin/$$x; done
+ for x in $(RC_BINLINKS); do ln -fs ${SBINDIR}/${PROG} ${DESTDIR}${LINKDIR}/bin/$$x; done
${INSTALL} -d ${DESTDIR}${LINKDIR}/sbin
- for x in ${RC_SBINLINKS}; do ln -fs ${DESTDIR}${SBINDIR}/${PROG} ${DESTDIR}${LINKDIR}/sbin/$$x; done
+ for x in ${RC_SBINLINKS}; do ln -fs ${SBINDIR}/${PROG} ${DESTDIR}${LINKDIR}/sbin/$$x; done
if test "${MKPAM}" = pam; then \
${INSTALL} -d ${DESTDIR}${PAMDIR}; \
${INSTALL} -m ${PAMMODE} start-stop-daemon.pam ${DESTDIR}${PAMDIR}/start-stop-daemon; \