summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2011-02-07 02:25:00 -0600
committerWilliam Hubbs <w.d.hubbs@gmail.com>2011-02-07 02:25:00 -0600
commit04379b2de9cf447e793294c4fe3f0d9b70194ffe (patch)
treecf2429c4d702cedf95d50237c4f166a4edf8a424
parent43678fd2c44ec35acdcf0316c8ff3b07ee1e5f57 (diff)
downloadopenrc-04379b2de9cf447e793294c4fe3f0d9b70194ffe.tar.gz
openrc-04379b2de9cf447e793294c4fe3f0d9b70194ffe.tar.bz2
openrc-04379b2de9cf447e793294c4fe3f0d9b70194ffe.tar.xz
fix symlink target
The target for the symlinks in ${SBINDIR} (the same directory as the rc binary) was "rc". This is not correct; the target should be ${SBINDIR}/rc instead.
-rw-r--r--src/rc/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rc/Makefile b/src/rc/Makefile
index cf63cca..5397415 100644
--- a/src/rc/Makefile
+++ b/src/rc/Makefile
@@ -79,7 +79,7 @@ install: all
${INSTALL} -d ${DESTDIR}${BINDIR}
$(call make-links,${BINLINKS},${SBINDIR}/${PROG},${DESTDIR}${BINDIR})
${INSTALL} -d ${DESTDIR}${SBINDIR}
- $(call make-links,${SBINLINKS},${PROG},${DESTDIR}${SBINDIR})
+ $(call make-links,${SBINLINKS},${SBINDIR}/${PROG},${DESTDIR}${SBINDIR})
${INSTALL} -d ${DESTDIR}${LINKDIR}/bin
$(call make-links,${RC_BINLINKS},${SBINDIR}/${PROG},${DESTDIR}${LINKDIR}/bin)
${INSTALL} -d ${DESTDIR}${LINKDIR}/sbin