mirror of https://github.com/k3s-io/k3s
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.pull/6/head
parent
19421c52e2
commit
2c9708967e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue