Error "tar: unrecognized option '--include=*.proto'" when running update-api.sh
egor-ponomarev opened this issue · comments
Egor Ponomarev commented
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 commented
as a workaround I removed the '--include' lines from the tar invocation in the script to avoid the error