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

Open
#187 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
shell
Domain
build-system

Research direction

Open update-api.sh and reproduce the failure on Ubuntu with the installed GNU tar version. Trace the tar invocation involving --include=*.proto; done means the script completes without the reported option error.

Written by the indexing model from the issue text.

Description

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)

Dominant language
Java
Stars
312
Forks
150
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from envoyproxy/java-control-plane

All issues in envoyproxy/java-control-plane

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.