Use "exec" statement in the helper script to avoid leaving useless sh instance

hanging around.
This commit is contained in:
Maxim Sobolev 2001-06-25 14:57:21 +00:00
parent f8374cc7fc
commit edda0f3bb9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=44420

View file

@ -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>