diff options
author | Martin Polden <mpolden@mpolden.no> | 2022-11-15 11:42:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-15 11:42:37 +0100 |
commit | 6a2d2b1c867cb9d58f39f8dfb7aad66e3a4e663d (patch) | |
tree | 796fe4f0798f4026449bc9355ea79611a206fb4c /client | |
parent | 0a7eb5f4331fdc51c4bf33d8470e657018ab607a (diff) | |
parent | 381c19adeb7641cdefaa4247ba204b108eadd996 (diff) |
Merge pull request #24866 from vespa-engine/mpolden/fix-ventura-build
Stop using diff in checkfmt target
Diffstat (limited to 'client')
-rw-r--r-- | client/go/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/go/Makefile b/client/go/Makefile index 7968d502e7a..6d9072eea27 100644 --- a/client/go/Makefile +++ b/client/go/Makefile @@ -135,7 +135,7 @@ test: ci TMPDIR=`/bin/pwd`/mytmp go test ./... checkfmt: - @bash -c "diff --line-format='%L' <(echo -n) <(gofmt -l .)" || { echo "one or more files need to be formatted: try make fmt to fix this automatically"; exit 1; } + @sh -c "test -z $$(gofmt -l .)" || { echo "one or more files need to be formatted: try make fmt to fix this automatically"; exit 1; } fmt: gofmt -w . |