FS#2108 - find warning in makeworld script (pacman 2.9.5-1)

Attached to Project: Pacman
Opened by Benoit FAY (bfay) - Sunday, 30 January 2005, 21:01 GMT
Task Type Bug Report
Category
Status Closed
Assigned To No-one
Architecture not specified
Severity Low
Priority Normal
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

The find command used in makeworld script return warnings.
Specifying '-maxdepth' and '-mindepth' options before '-type d' argument will solve the problem.

Line 119 should be read like this:

for port in `find $toplevel/$category -maxdepth 1 -mindepth 1 -type d | sort`; do

instead of:

for port in `find $toplevel/$category -type d -maxdepth 1 -mindepth 1 | sort`; do
This task depends upon

Closed by  Judd Vinet (judd)
Monday, 31 January 2005, 19:05 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in CVS
Comment by Benoit FAY (bfay) - Sunday, 30 January 2005, 22:22 GMT
Line 109: 'cd -' stdout appears on screen. Since this could be confusing, it would be nice to wipe this output by adding '&> /dev/null' like this:

Line 109:

< cd -
---
> cd - &> /dev/null

Loading...