diff options
author | mat <mat@FreeBSD.org> | 2016-12-01 19:18:03 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2016-12-01 19:18:03 +0800 |
commit | 359f486d9eb2765e2538b660686a47ca7f489039 (patch) | |
tree | 33a19b5745c1e5e7cbfa4a5ab2c30f6971177e74 /comms | |
parent | 16d9767b56dfb66fc3cda0c10604d546bd95003f (diff) | |
download | freebsd-ports-gnome-359f486d9eb2765e2538b660686a47ca7f489039.tar.gz freebsd-ports-gnome-359f486d9eb2765e2538b660686a47ca7f489039.tar.zst freebsd-ports-gnome-359f486d9eb2765e2538b660686a47ca7f489039.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 'comms')
-rw-r--r-- | comms/atslog/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/comms/atslog/Makefile b/comms/atslog/Makefile index c98a306b277a..85dd1043020e 100644 --- a/comms/atslog/Makefile +++ b/comms/atslog/Makefile @@ -82,20 +82,20 @@ do-install: @${MKDIR} ${STAGEDIR}${DATADIR}/lang (cd ${WRKSRC}/include && \ ${FIND} lang -type f ! -iregex ".*Makefile" -exec \ - ${INSTALL_DATA} "{}" "${STAGEDIR}${DATADIR}/{}" \;) + ${INSTALL_DATA} {} "${STAGEDIR}${DATADIR}/{}" \;) @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/textlogs (cd ${WRKSRC}/data && \ ${FIND} textlogs -type f -exec \ - ${INSTALL_DATA} "{}" "${STAGEDIR}${EXAMPLESDIR}/{}" \;) + ${INSTALL_DATA} {} "${STAGEDIR}${EXAMPLESDIR}/{}" \;) @${MKDIR} ${STAGEDIR}${DATADIR}/sql (cd ${WRKSRC}/data && \ ${FIND} sql -type f -iregex ".*\.sql" -exec \ - ${INSTALL_DATA} "{}" "${STAGEDIR}${DATADIR}/{}" \;) + ${INSTALL_DATA} {} "${STAGEDIR}${DATADIR}/{}" \;) ${INSTALL_SCRIPT} ${WRKSRC}/data/sql/install-sql.pl ${STAGEDIR}${DATADIR}/sql @${MKDIR} ${STAGEDIR}${PREFIX}/libexec/${PORTNAME} (cd ${WRKSRC}/libexec && \ ${FIND} -E . -type f ! -iregex ".*\.(sh|orig)" -exec \ - ${INSTALL_DATA} "{}" "${STAGEDIR}${PREFIX}/libexec/${PORTNAME}/{}" \;) + ${INSTALL_DATA} {} "${STAGEDIR}${PREFIX}/libexec/${PORTNAME}/{}" \;) ${INSTALL_SCRIPT} ${WRKSRC}/libexec/genindex.sh ${STAGEDIR}${PREFIX}/libexec/${PORTNAME} @${MKDIR} ${STAGEDIR}${WWWDIR} @@ -103,7 +103,7 @@ do-install: ${FIND} . -type d ! -empty -exec \ ${MKDIR} "${STAGEDIR}${WWWDIR}/{}" \; && \ ${FIND} -E . -type f ! -iregex "(.*Makefile|.*\.orig)" -exec \ - ${INSTALL_DATA} "{}" "${STAGEDIR}${WWWDIR}/{}" \; + ${INSTALL_DATA} {} "${STAGEDIR}${WWWDIR}/{}" \; ${MV} ${STAGEDIR}${WWWDIR}/include/config.inc.php.default ${STAGEDIR}${WWWDIR}/include/config.inc.php.sample do-install-DOCS-on: |