1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

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)
This commit is contained in:
Kato Kazuyoshi 2014-03-21 14:31:39 +09:00
parent 18bea2495d
commit 66baf56601

View file

@ -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' \