From 2c9708967e2c76f24f2c6e62ecd15732266ed223 Mon Sep 17 00:00:00 2001 From: Eric Paris Date: Wed, 16 Sep 2015 18:16:37 -0400 Subject: [PATCH] Fix doc generation on Macs The find util on macs require a path. Linux does not. So give it the path to work on both. --- hack/lib/util.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/lib/util.sh b/hack/lib/util.sh index d768bc37f2..d06c81b366 100755 --- a/hack/lib/util.sh +++ b/hack/lib/util.sh @@ -175,7 +175,7 @@ kube::util::gen-docs() { # create the list of generated files pushd "${dest}" > /dev/null touch .generated_docs - find -type f | cut -sd / -f 2- | LC_ALL=C sort > .generated_docs + find . -type f | cut -sd / -f 2- | LC_ALL=C sort > .generated_docs popd > /dev/null while read file; do