Skip to content

Commit

Permalink
replace -printf option with -exec in find cmd for go.mod directories. (
Browse files Browse the repository at this point in the history
  • Loading branch information
rghetia authored Sep 23, 2019
1 parent c70cb29 commit b13362e
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 @@ -8,7 +8,7 @@ EXAMPLES := \
# All source code and documents. Used in spell check.
ALL_DOCS := $(shell find . -name '*.md' -type f | sort)
# All directories with go.mod files. Used in go mod tidy.
ALL_GO_MOD_DIRS := $(shell find . -name 'go.mod' -printf "%h\n" | sort)
ALL_GO_MOD_DIRS := $(shell find . -type f -name 'go.mod' -exec dirname {} \; | sort)

GOTEST=go test
GOTEST_OPT?=-v -race -timeout 30s
Expand Down

0 comments on commit b13362e

Please sign in to comment.