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.
This commit is contained in:
Eric Paris 2015-09-16 18:16:37 -04:00
parent 19421c52e2
commit 2c9708967e

View File

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