aboutsummaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-10-08 05:54:33 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-10-08 05:54:33 +0000
commit856027ca8aaa5192fbaf9f91fc46433376aa8cef (patch)
tree6c9457b1c1db3fff77af986c5d592d7f1f24e587 /Mk
parentfe7bca82f0e6a89b81bc68a77218f7147b032c3e (diff)
downloadports-856027ca8aaa5192fbaf9f91fc46433376aa8cef.tar.gz
ports-856027ca8aaa5192fbaf9f91fc46433376aa8cef.zip
Notes
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.port.mk7
1 files changed, 2 insertions, 5 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index da6e50e9436c..38cadb029174 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -5248,19 +5248,16 @@ add-plist-post:
install-rc-script:
.if defined(USE_RCORDER)
@${ECHO_MSG} "===> Staging early rc.d startup script(s)"
- @${ECHO_CMD} "@cwd /" >> ${TMPPLIST}
@for i in ${USE_RCORDER}; do \
${INSTALL_SCRIPT} ${WRKDIR}/$${i} ${STAGEDIR}/etc/rc.d/$${i%.sh}; \
- ${ECHO_CMD} "etc/rc.d/$${i%.sh}" >> ${TMPPLIST}; \
+ ${ECHO_CMD} "/etc/rc.d/$${i%.sh}" >> ${TMPPLIST}; \
done
- @${ECHO_CMD} "@cwd ${PREFIX}" >> ${TMPPLIST}
.endif
.if defined(USE_RC_SUBR) && ${USE_RC_SUBR:tu} != "YES"
@${ECHO_MSG} "===> Staging rc.d startup script(s)"
- @${ECHO_CMD} "@cwd ${PREFIX}" >> ${TMPPLIST}
@for i in ${USE_RC_SUBR}; do \
${INSTALL_SCRIPT} ${WRKDIR}/$${i} ${STAGEDIR}${PREFIX}/etc/rc.d/$${i%.sh}; \
- ${ECHO_CMD} "etc/rc.d/$${i%.sh}" >> ${TMPPLIST}; \
+ ${ECHO_CMD} "${PREFIX}/etc/rc.d/$${i%.sh}" >> ${TMPPLIST}; \
done
.endif
.endif