summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2016-12-01 11:18:03 +0000
committerMathieu Arnold <mat@FreeBSD.org>2016-12-01 11:18:03 +0000
commit8664861b1a575bcf859a90c6fea2b05a1187f1f0 (patch)
tree33a19b5745c1e5e7cbfa4a5ab2c30f6971177e74 /java
parentUpdate to version 0.7.1. That version uses unique_ptr which is not (diff)
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
Notes
Notes: svn path=/head/; revision=427491
Diffstat (limited to 'java')
-rw-r--r--java/jakarta-struts/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/java/jakarta-struts/Makefile b/java/jakarta-struts/Makefile
index 33b9f14ab89a..95c58ce7f078 100644
--- a/java/jakarta-struts/Makefile
+++ b/java/jakarta-struts/Makefile
@@ -25,7 +25,7 @@ DEPRECATED= Port is unmaintained and has known security vulnerabilites
EXPIRATION_DATE=2016-12-01
do-install:
- cd ${WRKSRC} && ${FIND} . -type d -exec ${INSTALL} -d ${STAGEDIR}${PREFIX}/${TDIR}/'{}' \; && \
- ${FIND} . -type f -exec ${INSTALL_DATA} '{}' ${STAGEDIR}${PREFIX}/${TDIR}/'{}' \;
+ cd ${WRKSRC} && ${FIND} . -type d -exec ${INSTALL} -d ${STAGEDIR}${PREFIX}/${TDIR}/{} \; && \
+ ${FIND} . -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${PREFIX}/${TDIR}/{} \;
.include <bsd.port.mk>