Bug 483126

Summary: /usr/bin/cleanlinks causes complaints from find
Product: [Fedora] Fedora Reporter: Michal Jaegermann <michal>
Component: imakeAssignee: Adam Jackson <ajax>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 10CC: krh, xgl-maint
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-02-08 07:18:05 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Michal Jaegermann 2009-01-29 19:30:43 UTC
Description of problem:

A run of 'cleanlinks' ends like that:

find: warning: you have specified the -depth option after a non-option argument -type, but options are not positional (-depth affects tests specified before it as well as those specified after it).  Please specify options before other arguments.

find is unhappy about
 
find . -type d -depth -empty -print -exec rmdir {} \;

and want to see

find . -depth -type d -empty -print -exec rmdir {} \;

instead.

Version-Release number of selected component (if applicable):
imake-1.0.2-7.fc10

How reproducible:
always

Comment 1 Adam Jackson 2009-02-08 07:18:05 UTC
Fixed in imake-1.0.2-8.fc11.