summaryrefslogtreecommitdiff
path: root/sh/Makefile
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-02-28 11:08:49 +0000
committerRoy Marples <roy@marples.name>2008-02-28 11:08:49 +0000
commitf092045650faad778d25d000d80b3128664d2e2a (patch)
tree89188e92a4d01423ee59e33e5eaf5355fa14d103 /sh/Makefile
parentaabf3976db5ffb41f8f8bbd47f5015b4158e095a (diff)
downloadopenrc-f092045650faad778d25d000d80b3128664d2e2a.tar.gz
openrc-f092045650faad778d25d000d80b3128664d2e2a.tar.bz2
openrc-f092045650faad778d25d000d80b3128664d2e2a.tar.xz
Support the use of PREFIX and PKG_PREFIX.
Diffstat (limited to 'sh/Makefile')
-rw-r--r--sh/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/sh/Makefile b/sh/Makefile
index 364a59b..bda82a0 100644
--- a/sh/Makefile
+++ b/sh/Makefile
@@ -13,7 +13,7 @@ include ${MK}/scripts.mk
_installafter:
${INSTALL} -d ${DESTDIR}/etc/init.d
@# Provide an init script for the loopback interface
- ln -snf ${RC_LIB}/sh/net.sh ${DESTDIR}/etc/init.d/${NET_LO} || exit $$?
+ ln -snf ${RC_LIB}/sh/net.sh ${DESTDIR}/${PREFIX}/etc/init.d/${NET_LO} || exit $$?
@# Put functions.sh into the init.d dir so 3rd party apps don't have to
@# be multilib aware
- ln -snf ${RC_LIB}/sh/functions.sh ${DESTDIR}/etc/init.d || exit $$?
+ ln -snf ${RC_LIB}/sh/functions.sh ${DESTDIR}/${PREFIX}/etc/init.d || exit $$?