Skip to content
This repository was archived by the owner on Apr 12, 2019. It is now read-only.

Commit fc63966

Browse files
rsmarpleslafriks
authored andcommitted
Use POSIX complaint ! operator in find (#76)
-not is a GNU extension and not all find(8) implementations support it. It's just an alias for ! which is POSIX compliant.
1 parent ef3ac5f commit fc63966

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
@@ -18,7 +18,7 @@ generate:
1818

1919
.PHONY: fmt
2020
fmt:
21-
find . -name "*.go" -type f -not -path "./vendor/*" -not -path "./benchmark/*" | xargs gofmt -s -w
21+
find . -name "*.go" -type f ! -path "./vendor/*" ! -path "./benchmark/*" | xargs gofmt -s -w
2222

2323
.PHONY: vet
2424
vet:

0 commit comments

Comments
 (0)