Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 83376 - Slight option error in /etc/init.d/xfs
Summary: Slight option error in /etc/init.d/xfs
Status: RESOLVED DUPLICATE of bug 82735
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-26 07:18 UTC by Dion Sole
Modified: 2005-07-17 13:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dion Sole 2005-02-26 07:18:53 UTC
Nothing serious, find just complains about the sequence of options passed to it being bad. Specifically, --max-depth should appear before all non-option arguments, of which -type is one. This makes find unhappy.
Simple to fix, just reverse the order of arguments on

fontlist="$(find $1/ -type f -maxdepth 1 | \ 

to 

fontlist="$(find $1/ -maxdepth 1 -type f | \ 

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

Actual Results:  
Find complains about wrong option order

Expected Results:  
Find shouldnt complain
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2005-02-26 13:55:54 UTC
Remember to search for duplicates before filing new bugs.

*** This bug has been marked as a duplicate of 82735 ***