mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
Mk/Uses/cabal.mk: Replace shell process in EXECUTABLES wrapper scripts
The wrapper scripts leave the shell running for no reason. Add an exec to replace the shell process. Before: $ ps -d 35230 5 Ss 0:00.09 -oksh (oksh) 35351 5 S+ 0:00.00 - /bin/sh /usr/local/bin/shellcheck - 35352 5 S+ 0:00.00 `-- /usr/local/libexec/cabal/shellcheck - After: $ ps -d 35230 5 Is 0:00.05 -oksh (oksh) 35236 5 I+ 0:00.01 - /usr/local/libexec/cabal/shellcheck - Approved by: arrowd Differential Revision: https://reviews.freebsd.org/D29852
This commit is contained in:
parent
a0109ed754
commit
12837690ed
@ -196,7 +196,7 @@ do-install:
|
||||
${ECHO_CMD} 'export ${dep:S/-/_/}_datadir=${DATADIR}' >> ${STAGEDIR}${PREFIX}/bin/${exe}
|
||||
. endfor
|
||||
${ECHO_CMD} '' >> ${STAGEDIR}${PREFIX}/bin/${exe}
|
||||
${ECHO_CMD} '${PREFIX}/${CABAL_LIBEXEC}/${exe} "$$@"' >> ${STAGEDIR}${PREFIX}/bin/${exe}
|
||||
${ECHO_CMD} 'exec ${PREFIX}/${CABAL_LIBEXEC}/${exe} "$$@"' >> ${STAGEDIR}${PREFIX}/bin/${exe}
|
||||
${CHMOD} +x ${STAGEDIR}${PREFIX}/bin/${exe}
|
||||
. endfor
|
||||
. endif
|
||||
|
Loading…
Reference in New Issue
Block a user