aboutsummaryrefslogtreecommitdiffstats
path: root/games/linux-quake4/Makefile
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2016-12-01 19:18:03 +0800
committerMathieu Arnold <mat@FreeBSD.org>2016-12-01 19:18:03 +0800
commit8664861b1a575bcf859a90c6fea2b05a1187f1f0 (patch)
tree33a19b5745c1e5e7cbfa4a5ab2c30f6971177e74 /games/linux-quake4/Makefile
parent30de4c11b252c73c33417ac534886e9651b233f1 (diff)
downloadfreebsd-ports-gnome-8664861b1a575bcf859a90c6fea2b05a1187f1f0.tar.gz
freebsd-ports-gnome-8664861b1a575bcf859a90c6fea2b05a1187f1f0.tar.zst
freebsd-ports-gnome-8664861b1a575bcf859a90c6fea2b05a1187f1f0.zip
Don't quote {} in find -exec calls.
Braces are not shell metacharacters, and they do not need to be quoted. By the time find parses its arguments and dicovers them, the quoting will have been removed by the shell anyway. Sponsored by: Absolight
Diffstat (limited to 'games/linux-quake4/Makefile')
-rw-r--r--games/linux-quake4/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/games/linux-quake4/Makefile b/games/linux-quake4/Makefile
index 3ad22f08fb7d..025c5890e81d 100644
--- a/games/linux-quake4/Makefile
+++ b/games/linux-quake4/Makefile
@@ -70,30 +70,30 @@ do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/${Q4DIR}/q4base
@cd ${WRKSRC} && \
${FIND} -E pb -type f -iregex ".*\.(so)" \
- -exec ${INSTALL_DATA} "{}" "${STAGEDIR}${PREFIX}/${Q4DIR}/{}" \; && \
+ -exec ${INSTALL_DATA} {} "${STAGEDIR}${PREFIX}/${Q4DIR}/{}" \; && \
${FIND} -E pb/htm -type f -iregex ".*\.(htm)" \
- -exec ${INSTALL_DATA} "{}" "${STAGEDIR}${PREFIX}/${Q4DIR}/{}" \;
+ -exec ${INSTALL_DATA} {} "${STAGEDIR}${PREFIX}/${Q4DIR}/{}" \;
# Q4base
@cd ${WRKSRC} && \
${FIND} -E q4base -type f -iregex ".*\.(cfg|scriptcfg|pk4|off)" \
- -exec ${INSTALL_DATA} "{}" "${STAGEDIR}${PREFIX}/${Q4DIR}/{}" \;
+ -exec ${INSTALL_DATA} {} "${STAGEDIR}${PREFIX}/${Q4DIR}/{}" \;
# All version (except germany) or only germany version
.if ${PORT_OPTIONS:MGERMANY}
@cd ${WRKSRC}/germany && \
${FIND} -E q4base -type f -iregex ".*\.(pk4)" \
- -exec ${INSTALL_DATA} "{}" "${STAGEDIR}${PREFIX}/${Q4DIR}/{}" \;
+ -exec ${INSTALL_DATA} {} "${STAGEDIR}${PREFIX}/${Q4DIR}/{}" \;
.else
@cd ${WRKSRC}/us && \
${FIND} -E q4base -type f -iregex ".*\.(pk4)" \
- -exec ${INSTALL_DATA} "{}" "${STAGEDIR}${PREFIX}/${Q4DIR}/{}" \;
+ -exec ${INSTALL_DATA} {} "${STAGEDIR}${PREFIX}/${Q4DIR}/{}" \;
.endif
# Documentation
.if ${PORT_OPTIONS:MDOCS}
@cd ${WRKSRC}/Docs && \
${FIND} * -type d -exec ${MKDIR} "${STAGEDIR}${DOCSDIR}/{}" \; && \
- ${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${STAGEDIR}${DOCSDIR}/{}" \;
+ ${FIND} * -type f -exec ${INSTALL_DATA} {} "${STAGEDIR}${DOCSDIR}/{}" \;
${INSTALL_DATA} ${WRKSRC}/License.txt ${STAGEDIR}${DOCSDIR}/LICENSE && \
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/README && \
${INSTALL_DATA} ${WRKSRC}/pb/PBEULA.txt ${STAGEDIR}${DOCSDIR}/PBEULA