Bug 9685 - cleanlinks gives warning about '-depth'
Summary: cleanlinks gives warning about '-depth'
Status: RESOLVED INVALID
Alias: None
Product: xorg
Classification: Unclassified
Component: Build/Monolithic (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: high trivial
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard: 2011BRB_Reviewed
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-17 00:56 UTC by Tejing
Modified: 2018-06-12 19:09 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Tejing 2007-01-17 00:56:29 UTC
line 26 of the 'cleanlinks' script uses find to remove empty directories, but my
version of find gives a warning unless global options like -depth are put before
any tests or actions. so the line:
find . -type d -depth -empty -print -exec rmdir {} \;
should become:
find . -depth -type d -empty -print -exec rmdir {} \;
to avoid the warning.

I'm using Gentoo Linux, with version 1.0.2 of x11-misc/imake and version 4.3.2
of sys-apps/findutils.
Comment 1 Daniel Stone 2007-02-27 01:35:48 UTC
Sorry about the phenomenal bug spam, guys.  Adding xorg-team@ to the QA contact so bugs don't get lost in future.
Comment 2 Steve Long 2007-09-21 07:29:09 UTC
Hi this is still happening in Gentoo, the change proposed above fixes it.

http://bugs.gentoo.org/show_bug.cgi?id=192756
Comment 3 Fabio Correa 2007-12-31 07:28:17 UTC
Please check bug #10019 for a suggested cleanlinks script.
Comment 4 Adam Jackson 2018-06-12 19:09:24 UTC
Mass closure: This bug has been untouched for more than six years, and is not
obviously still valid. Please reopen this bug or file a new report if you continue to experience issues with current releases.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.