This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: find -execdir command executed in wrong directory


David Rothenberger <daveroth <at> acm.org> writes:

> 
> 
> "find -execdir" seems to be executing the command in the wrong
> directory. If the file is in /tmp/a/b/c, the command is executed with
> the current directory /tmp/a/b instead of /tmp/a/b/c. oldfind does the
> right thing.

Thanks for the report. I'm forwarding it upstream, and hopefully a patch will 
be available soon.  The bug only affects the "-execdir {} +" version (you can 
still use the less efficient "-execdir {} \;").

-- 
Eric Blake
volunteer cygwin findutils maintainer



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]