mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-03 06:04:53 +00:00
Mk/Uses/cabal.mk: use ECHO_CMD not ECHO (D29852)
ECHO is set to true on make -s in /usr/share/mk/sys.mk and shouldn't be used for things like this. Approved by: arrowd
This commit is contained in:
parent
d9db2548a5
commit
a0109ed754
@ -189,14 +189,14 @@ do-install:
|
|||||||
${INSTALL_PROGRAM} \
|
${INSTALL_PROGRAM} \
|
||||||
$$(find ${WRKSRC}/dist-newstyle -name ${exe} -type f -perm +111) \
|
$$(find ${WRKSRC}/dist-newstyle -name ${exe} -type f -perm +111) \
|
||||||
${STAGEDIR}${PREFIX}/${CABAL_LIBEXEC}/${exe}
|
${STAGEDIR}${PREFIX}/${CABAL_LIBEXEC}/${exe}
|
||||||
${ECHO} '#!/bin/sh' > ${STAGEDIR}${PREFIX}/bin/${exe}
|
${ECHO_CMD} '#!/bin/sh' > ${STAGEDIR}${PREFIX}/bin/${exe}
|
||||||
${ECHO} '' >> ${STAGEDIR}${PREFIX}/bin/${exe}
|
${ECHO_CMD} '' >> ${STAGEDIR}${PREFIX}/bin/${exe}
|
||||||
${ECHO} 'export ${exe:S/-/_/}_datadir=${DATADIR}' >> ${STAGEDIR}${PREFIX}/bin/${exe}
|
${ECHO_CMD} 'export ${exe:S/-/_/}_datadir=${DATADIR}' >> ${STAGEDIR}${PREFIX}/bin/${exe}
|
||||||
. for dep in ${${exe}_DATADIR_VARS}
|
. for dep in ${${exe}_DATADIR_VARS}
|
||||||
${ECHO} 'export ${dep:S/-/_/}_datadir=${DATADIR}' >> ${STAGEDIR}${PREFIX}/bin/${exe}
|
${ECHO_CMD} 'export ${dep:S/-/_/}_datadir=${DATADIR}' >> ${STAGEDIR}${PREFIX}/bin/${exe}
|
||||||
. endfor
|
. endfor
|
||||||
${ECHO} '' >> ${STAGEDIR}${PREFIX}/bin/${exe}
|
${ECHO_CMD} '' >> ${STAGEDIR}${PREFIX}/bin/${exe}
|
||||||
${ECHO} '${PREFIX}/${CABAL_LIBEXEC}/${exe} "$$@"' >> ${STAGEDIR}${PREFIX}/bin/${exe}
|
${ECHO_CMD} '${PREFIX}/${CABAL_LIBEXEC}/${exe} "$$@"' >> ${STAGEDIR}${PREFIX}/bin/${exe}
|
||||||
${CHMOD} +x ${STAGEDIR}${PREFIX}/bin/${exe}
|
${CHMOD} +x ${STAGEDIR}${PREFIX}/bin/${exe}
|
||||||
. endfor
|
. endfor
|
||||||
. endif
|
. endif
|
||||||
|
Loading…
Reference in New Issue
Block a user