Use "exec" statement in the helper script to avoid leaving useless sh instance
hanging around.
This commit is contained in:
parent
f8374cc7fc
commit
edda0f3bb9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=44420
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ do-install:
|
|||
(cd ${WRKSRC}; tar cf - .) | \
|
||||
(cd ${PREFIX}/share/solarwolf; tar --unlink -xf -)
|
||||
@printf "#!/bin/sh\ncd ${PREFIX}/share/solarwolf && \
|
||||
${PYTHON_CMD} ${PREFIX}/share/solarwolf/solarwolf.py\n" > ${WRKDIR}/solarwolf.sh
|
||||
exec ${PYTHON_CMD} ${PREFIX}/share/solarwolf/solarwolf.py\n" > ${WRKDIR}/solarwolf.sh
|
||||
@${INSTALL_SCRIPT} ${WRKDIR}/solarwolf.sh ${PREFIX}/bin/solarwolf
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Reference in a new issue