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

Failure on MacOS since cp does not support --parents #246

Open
ClausHolbechArista opened this issue Dec 1, 2023 · 0 comments
Open

Failure on MacOS since cp does not support --parents #246

ClausHolbechArista opened this issue Dec 1, 2023 · 0 comments

Comments

@ClausHolbechArista
Copy link

ClausHolbechArista commented Dec 1, 2023

Hi team
tox-ansible fails on MacOS with an error for cp not supporting --parents.

This line:

copy_cmd = f"cp -r --parents $(git ls-files 2> /dev/null || ls) {galaxy_build_dir}"

contains --parents which is not supported on MacOS. Changing to -p should solve it for all platforms. -p is not doing the same, so on MacOS ppl would have to install GNU cp.

Can you look into other alternatives to make this more portable?

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant