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)
Upstream-commit: 66baf56601f4fc1e8f5f2863d227283954b73a77
Component: engine
This commit is contained in:
Kato Kazuyoshi
2014-04-10 07:13:41 +09:00
parent 380ead943d
commit d9e097fbe6
+1 -1
View File
@@ -152,7 +152,7 @@ go_test_dir() {
# holding certain files ($1 parameter), and prints their paths on standard
# output, one per line.
find_dirs() {
find -not \( \
find . -not \( \
\( \
-wholename './vendor' \
-o -wholename './integration' \