Skip to content

Commit d0ea7d5

Browse files
committed
fix syntax for /bin/sh
1 parent 4609957 commit d0ea7d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ build: $(BUILD)/fmt ## ensure all packages build
281281
$Q # compare the current go version with what is in go.mod, and get `{gomod_version}.1` or similar and ensure it builds.
282282
$Q GOVERSION="$(shell go env GOVERSION | cut -d. -f1-2)" \
283283
MODVERSION="go$(shell grep '^go 1' go.mod | cut -d' ' -f2)"; \
284-
if [[ "$$GOVERSION" != "$$MODVERSION" ]]; then \
284+
if [ "$$GOVERSION" != "$$MODVERSION" ]; then \
285285
echo "go.mod version \"$$MODVERSION\" is not the same as current go version \"$$GOVERSION\", making sure it builds..."; \
286286
echo GOTOOLCHAIN="$$MODVERSION".1 go build ./...; \
287287
GOTOOLCHAIN="$$MODVERSION".1 go build ./...; \

0 commit comments

Comments
 (0)