diff --git a/Makefile b/Makefile index 6cfd3b3..8a6748a 100644 --- a/Makefile +++ b/Makefile @@ -23,7 +23,7 @@ GOBIN = $(shell which go) all: $(APP) $(APP): $(GOSRC) - if [ "$(shell $(GOBIN) version | cut -d' ' -f 3 | cut -d '.' -f1-2)" == "go1.16" ]; then \ + if [ "$(shell $(GOBIN) version | cut -d' ' -f 3 | cut -d '.' -f1-2)" = "go1.16" ]; then \ echo "1.16"; \ cp go.mod.1.16 go.mod; \ else \