mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 15:25:57 +00:00
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:
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
Block a user