Skip to content

Commit

Permalink
Fix Go downloading issue
Browse files Browse the repository at this point in the history
$ make
mkdir -p go-1.11.5
rm -f go-1.11.5/bin/go
Downloading and unpacking Go 1.11.5.linux-amd64 to go-1.11.5
curl -s https://dl.google.com/go/go1.11.5.linux-amd64.tar.gz | tar xf - --strip-components=1 -C go-1.11.5
tar: Archive is compressed. Use -z option
tar: Error is not recoverable: exiting now
Makefile:29: recipe for target 'go-1.11.5/bin/go' failed
make: *** [go-1.11.5/bin/go] Error 2
  • Loading branch information
andreydiveev committed Oct 16, 2019
1 parent 0df2c85 commit cfb03af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ $(GO_DIR)/bin/go:
mkdir -p $(GO_DIR)
rm -f $@
@echo Downloading and unpacking Go $(GO_VERSION) to $(GO_DIR)
curl -s $(GO_DOWNLOAD_URL) | tar xf - --strip-components=1 -C $(GO_DIR)
curl -s $(GO_DOWNLOAD_URL) | tar xfz - --strip-components=1 -C $(GO_DIR)

# Clean up binary
clean:
Expand Down

0 comments on commit cfb03af

Please sign in to comment.