浏览代码

Unlike GNU find, FreeBSD's find needs a path before an expression

Docker-DCO-1.1-Signed-off-by: Kato Kazuyoshi <kato.kazuyoshi@gmail.com> (github: kzys)
Kato Kazuyoshi 11 年之前
父节点
当前提交
66baf56601
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      hack/make.sh

+ 1 - 1
hack/make.sh

@@ -152,7 +152,7 @@ go_test_dir() {
 # holding certain files ($1 parameter), and prints their paths on standard
 # holding certain files ($1 parameter), and prints their paths on standard
 # output, one per line.
 # output, one per line.
 find_dirs() {
 find_dirs() {
-	find -not \( \
+	find . -not \( \
 		\( \
 		\( \
 			-wholename './vendor' \
 			-wholename './vendor' \
 			-o -wholename './integration' \
 			-o -wholename './integration' \