Closed PKief closed 4 years ago
Makes sense but weird because I'm pretty sure it worked for me before. I wonder if this could be due to platform differences. Which OS did this happen on? I mainly use macOS.
Will test when I'm back at my terminal later today. Otherwise should be good to go. Thanks for the PR!
I executed this command on a Ubuntu 18.04.2 LTS system. And I also tried to execute it with a git bash on Windows and got the same error.
Yep, this seems to explains it, on macOS I ran man tar
and the manpage contains this:
-z (c mode only) Compress the resulting archive with gzip(1). In extract or list modes, this option is ignored. Note that, unlike other tar implementations, this implementation recognizes gzip compression automatically when reading archives.
So I've been relying on the automatic detection for quite some time without thinking about it.
Thanks!
Running the
tar
command without the-z
option will fail to download the project files and prompt you the following error:This pull requests add the
z
option to thetar
command and lets it download the files properly.