Delete the '{}' argument from an invocation of xargs(1). When the
output of find(1) is piped into xargs (instead of being passed to -exec cmd), there's no need for that. PR: docs/80649 Submitted by: Vasil Dimov <vd@datamax.bg>
This commit is contained in:
parent
0ccafc87cb
commit
709761941b
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=24455
1 changed files with 1 additions and 1 deletions
|
@ -694,7 +694,7 @@ PLIST_DIRS= lib/X11/oneko</programlisting>
|
|||
|
||||
post-extract:
|
||||
@${FIND} -E ${WRKDIR} -type f -iregex ".*\.(c|cpp|h|txt)" -print0 | \
|
||||
${XARGS} -0 ${REINPLACE_CMD} -e 's/[[:cntrl:]]*$$//' '{}' \;</programlisting>
|
||||
${XARGS} -0 ${REINPLACE_CMD} -e 's/[[:cntrl:]]*$$//'</programlisting>
|
||||
|
||||
<para>Of course, if you need to process each and every file,
|
||||
<option>-iregex</option> above can be omitted. Be aware that this
|
||||
|
|
Loading…
Reference in a new issue