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

zip file must be unpacked with jar rather than tar #2921

Closed
philwalk opened this issue May 21, 2024 · 0 comments · Fixed by #2922
Closed

zip file must be unpacked with jar rather than tar #2921

philwalk opened this issue May 21, 2024 · 0 comments · Fixed by #2922
Assignees
Labels
bug Something isn't working documentation Improvements or additions to documentation

Comments

@philwalk
Copy link
Contributor

philwalk commented May 21, 2024

Version(s)

# scala-cli version
Scala CLI version: 1.3.1
Scala version (default): 3.4.1

Describe the bug
The Windows instructions for manually installing scala-cli incorrectly specify tar rather than jar command line for unpacking a zip file.

To Reproduce

# tar -xf ~/scala-cli.zip
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Exiting with failure status due to previous errors
# jar -xf scala-cli.zip

Expected behaviour
This is a simple typo, but can result in a confusing experience for novice users.
I will submit a PR with the fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants