Skip to content

Commit

Permalink
Merge pull request #901 from marians/fix-issue-900
Browse files Browse the repository at this point in the history
Add -e flag to `go list` command to fix `make` commands
  • Loading branch information
povilasv authored Mar 25, 2024
2 parents a1c276d + f51edf6 commit 346bef2
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 @@ -74,7 +74,7 @@ $(BIN_DIR):

$(TOOLING): $(BIN_DIR)
@echo Installing tools from hack/tools.go
@cd scripts && go list -mod=mod -tags tools -f '{{ range .Imports }}{{ printf "%s\n" .}}{{end}}' ./ | xargs -tI % go build -mod=mod -o $(BIN_DIR) %
@cd scripts && go list -e -mod=mod -tags tools -f '{{ range .Imports }}{{ printf "%s\n" .}}{{end}}' ./ | xargs -tI % go build -mod=mod -o $(BIN_DIR) %

########################################
# "check-with-upstream" workflow checks.
Expand Down

0 comments on commit 346bef2

Please sign in to comment.