Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

-execdir fails for the root directory #23

Closed
tavianator opened this issue Jun 14, 2017 · 3 comments · Fixed by #92
Closed

-execdir fails for the root directory #23

tavianator opened this issue Jun 14, 2017 · 3 comments · Fixed by #92
Labels

Comments

@tavianator
Copy link
Contributor

$ ./target/debug/find -maxdepth 0 -execdir echo '{}' \;
Failed to run echo: No such file or directory (os error 2)
mcharsley added a commit to mcharsley/findutils that referenced this issue Jun 30, 2017
@mcharsley
Copy link
Contributor

Should be now fixed by 8c7cf29

Thanks for the bug report

@tavianator
Copy link
Contributor Author

Thanks! Looks like this related command line is still broken, should I open a new bug?

$ ./target/debug/find src -maxdepth 0 -execdir echo '{}' \;
Failed to run echo: No such file or directory (os error 2)

@mcharsley
Copy link
Contributor

I'll re-open this one

@mcharsley mcharsley reopened this Jun 30, 2017
mcharsley added a commit to mcharsley/findutils that referenced this issue Jun 30, 2017
Underlying issue is some of Rust's stdlib thinking that "" is the
current directory, and other bits thinking it's not a valid path.
@Arcterus Arcterus added the bug label Apr 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants