diff options
author | Roy Marples <roy@marples.name> | 2008-02-28 11:08:49 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2008-02-28 11:08:49 +0000 |
commit | f092045650faad778d25d000d80b3128664d2e2a (patch) | |
tree | 89188e92a4d01423ee59e33e5eaf5355fa14d103 /sh/Makefile | |
parent | aabf3976db5ffb41f8f8bbd47f5015b4158e095a (diff) |
Support the use of PREFIX and PKG_PREFIX.
Diffstat (limited to 'sh/Makefile')
-rw-r--r-- | sh/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sh/Makefile b/sh/Makefile index 364a59bc..bda82a03 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 $$? |