Skip to content

Commit

Permalink
Pin version of ltag for go <= v1.15 compatibility
Browse files Browse the repository at this point in the history
Signed-off-by: Mathis Joffre <[email protected]>
  • Loading branch information
Joffref committed Aug 30, 2022
1 parent 490e336 commit cd9a880
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,7 @@ $(FC_TEST_BIN_PATH)/tc-redirect-tap:
go get github.com/awslabs/tc-redirect-tap/cmd/tc-redirect-tap

$(FC_TEST_DATA_PATH)/ltag:
GO111MODULE=off GOBIN=$(abspath $(FC_TEST_DATA_PATH)) \
go get github.com/kunalkushwaha/ltag
@if [ `go version | cut -d '.' -f 2` -le 15 ]; then GO111MODULE=on GOBIN=$(abspath $(FC_TEST_DATA_PATH)); go get github.com/kunalkushwaha/[email protected]; else GO111MODULE=off GOBIN=$(abspath $(FC_TEST_DATA_PATH)); go get github.com/kunalkushwaha/ltag; fi

$(FIRECRACKER_DIR):
- git clone https://github.com/firecracker-microvm/firecracker.git $(FIRECRACKER_DIR)
Expand Down

0 comments on commit cd9a880

Please sign in to comment.