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

Error "tar: unrecognized option '--include=*.proto'" when running update-api.sh #187

Open
egor-ponomarev opened this issue Dec 2, 2021 · 1 comment

Comments

@egor-ponomarev
Copy link

egor-ponomarev commented Dec 2, 2021

I have ubuntu and when running update-api.sh I got an error:

tar: unrecognized option '--include=*.proto'
Try 'tar --help' or 'tar --usage' for more information.

I've tried using tar of 1.29 and 1.34 versions, with no success.
Seems that recent gnu tar doesn't support --include
https://stackoverflow.com/a/5748856/4477463 (check comments of the answer)

@egor-ponomarev
Copy link
Author

as a workaround I removed the '--include' lines from the tar invocation in the script to avoid the error

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

No branches or pull requests

1 participant