Skip to content

Commit

Permalink
use subst
Browse files Browse the repository at this point in the history
Signed-off-by: Yasuhiro Matsumoto <[email protected]>
  • Loading branch information
mattn committed Oct 15, 2024
1 parent d874fec commit 2f3253e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ GOARCH ?= $(shell $(GO) env GOARCH)
GOLANGCI_LINT_VERSION := 1.61.0

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

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

0 comments on commit 2f3253e

Please sign in to comment.