ports/157566: portlint: Warng about use of ${FIND}...${XARGS} {RM}
Gerald Pfeifer
gerald at pfeifer.com
Fri Jun 3 15:00:32 UTC 2011
>Number: 157566
>Category: ports
>Synopsis: portlint: Warng about use of ${FIND}...${XARGS} {RM}
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Fri Jun 03 15:00:23 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Gerald Pfeifer
>Release:
>Organization:
>Environment:
>Description:
Per a currently ongoing discussion on ports-committers@ and
cvs-ports@, there are still 112 ports left that do something
like
@${FIND} ${WRKSRC} -type f -name "*.orig" | ${XARGS} ${RM}
when the -rm option of find should be used.
>How-To-Repeat:
>Fix:
Add warnings to portlint that looks for a pattern
\$\{FIND\}.*\|.*\$\{XARGS\}.*\$\{RM\}
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list