You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2005/11/16 14:25:07 UTC

DO NOT REPLY [Bug 37524] New: - find mindepth and maxdepth Parameters in relink Script

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=37524>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=37524

           Summary: find mindepth and maxdepth Parameters in relink Script
           Product: Tomcat 5
           Version: 5.0.30
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Native:Integration
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: clasohm@redhat.com


I have installed version 5.0.30-8jpp of the Tomcat 5 RPM from JPackage.org on
Fedora Core 4.

When I start the tomcat5 service, I get the following warnings from find (RPM
version 4.2.20-1):

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

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

These are caused by /usr/share/tomcat5/bin/relink. Changing the find invocation from

find /var/lib/tomcat5/webapps -type d -mindepth 1 -maxdepth 2

to

find /var/lib/tomcat5/webapps -mindepth 1 -maxdepth 2 -type d

fixes this.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org