Skip to content

Commit f663d58

Browse files
committed
use subst
1 parent db39d09 commit f663d58

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
@@ -30,7 +30,7 @@ GOARCH ?= $(shell $(GO) env GOARCH)
3030
GOLANGCI_LINT_VERSION := 1.61.0
3131

3232
ifeq ($(GOBIN),)
33-
GOBIN := $(shell $(GO) env GOPATH | sed -e 's!\\!/!g')/bin
33+
GOBIN := $(subst \,/,$(shell $(GO) env GOPATH))/bin
3434
endif
3535

3636
# Scripts may also use CONTAINER_RUNTIME, so we need to export it.

0 commit comments

Comments
 (0)