Use exec ${PYTHON_CMD}' in the helper script instead of plain ${PYTHON_CMD}'.

This commit is contained in:
Maxim Sobolev 2001-05-28 14:57:42 +00:00
parent aad83b2433
commit d5d4896422
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=43202

View File

@ -31,7 +31,7 @@ do-install:
.endfor
${INSTALL_DATA} ${WRKSRC}/icons/*.xpm ${PREFIX}/share/pygmy/icons
${INSTALL_DATA} ${WRKSRC}/pygmy ${PREFIX}/share/pygmy
@printf "#!/bin/sh\n${PYTHON_CMD} ${PREFIX}/share/pygmy/pygmy" > \
@printf "#!/bin/sh\nexec ${PYTHON_CMD} ${PREFIX}/share/pygmy/pygmy" > \
${WRKDIR}/pygmy.sh
${INSTALL_SCRIPT} ${WRKDIR}/pygmy.sh ${PREFIX}/bin/pygmy