You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Makefile
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -291,7 +291,7 @@ go mod init tmp ;\
291
291
echo "Downloading $(2)" ;\
292
292
currentver=$$(go version | { read _ _ v _; echo $$v; } | sed 's/go//g') ;\
293
293
requiredver="1.19" ;\
294
-
if [ $$(printf '%s\n' $$requiredver $$currentver | sort -V | head -n1) = $$requiredver ]; then export GOFLAGS=""; GOBIN=$(PROJECT_DIR)/bin go install $(2); else GOBIN=$(PROJECT_DIR)/bin go get $(2); fi;\
294
+
if [ $$(printf '%s\n' $$requiredver $$currentver | sort -V | head -n1) = $$requiredver ]; then export GOFLAGS=""; GOBIN=$(PROJECT_DIR)/bin GO111MODULE=on go install $(2); else GOBIN=$(PROJECT_DIR)/bin go get $(2); fi;\
0 commit comments