cljstyle icon indicating copy to clipboard operation
cljstyle copied to clipboard

--overwrite not supported on macOS tar

Open martinklepsch opened this issue 4 years ago • 1 comments

Not sure what the ideal solution here is but Mac's tar command does not support the --overwrite option.

Workaround

h/t to @alexdao3 for this

When running ./install-cljstyle, you may get the following error on Mac:

tar: Option --overwrite is not supported"

If so, open the install-cljstyle file and remove the --overwrite option. Then re-run the ./install-cljstyle command. This should install the cljstyle binary into your /usr/local/bin directory.

martinklepsch avatar Jun 23 '21 09:06 martinklepsch

Thanks for the report. The script can probably detect the OS and do the right thing here.

greglook avatar Jun 23 '21 19:06 greglook

Release 0.16.626 switches to the zip artifacts, so this shouldn't be an issue anymore.

greglook avatar Jan 07 '24 17:01 greglook