From 359f486d9eb2765e2538b660686a47ca7f489039 Mon Sep 17 00:00:00 2001 From: mat Date: Thu, 1 Dec 2016 11:18:03 +0000 Subject: 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 --- textproc/libtextcat/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'textproc') diff --git a/textproc/libtextcat/Makefile b/textproc/libtextcat/Makefile index 0b74894132d2..6aea74548439 100644 --- a/textproc/libtextcat/Makefile +++ b/textproc/libtextcat/Makefile @@ -26,7 +26,7 @@ post-install: ${MKDIR} ${STAGEDIR}${DATADIR}/LM @${ECHO_MSG} "Installing language models provided in Gertjan van Noord's TextCat package" (cd ${WRKSRC}/langclass/LM && \ - ${FIND} . -name "*.lm" -exec ${INSTALL_DATA} "{}" "${STAGEDIR}${DATADIR}/LM/{}" \;) + ${FIND} . -name "*.lm" -exec ${INSTALL_DATA} {} "${STAGEDIR}${DATADIR}/LM/{}" \;) ${INSTALL_DATA} ${WRKSRC}/langclass/conf.txt "${STAGEDIR}${DATADIR}" ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} -- cgit