提交 66d98c16 编写于 作者: K Kent R. Spillner

fix non-portable GNU find(1)-ism

GNU find(1)'s -not operator is not POSIX compliant.  Use ! operator
instead in order to work with other find(1) implementations.
上级 b7f0bb06
......@@ -28,7 +28,7 @@ setup_gopath() {
}
find_source_files() {
find . -maxdepth 2 -name '*.go' -not -name '*_test.go' "$@"
find . -maxdepth 2 -name '*.go' '!' -name '*_test.go' "$@"
}
count_changed_files() {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册