summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Hans <joel@netdata.cloud>2019-12-03 21:17:19 -0700
committerChris Akritidis <43294513+cakrit@users.noreply.github.com>2019-12-03 20:17:19 -0800
commit9f5cacbd3effa6d49fc21a77a88fc6f38d8cbcb5 (patch)
tree3955e2df521fb144128f0ee3eb782842fdcd8d3f
parentc8c8f13e16b25051e505e1d999953ba2692e5698 (diff)
Fix broken docs builds (#7409)
* Trying python 3.5 * cpio -> cp * Improved cp command
-rwxr-xr-xdocs/generator/buildhtml.sh3
-rw-r--r--docs/generator/runtime.txt2
2 files changed, 3 insertions, 2 deletions
diff --git a/docs/generator/buildhtml.sh b/docs/generator/buildhtml.sh
index dbd303911e..bcfe726267 100755
--- a/docs/generator/buildhtml.sh
+++ b/docs/generator/buildhtml.sh
@@ -22,7 +22,8 @@ git clone https://github.com/netdata/go.d.plugin.git ${GO_D_DIR}
# Copy all Netdata .md files to docs/generator/src. Exclude htmldoc itself and also the directory node_modules generatord by Netlify
echo "Copying files"
rm -rf ${SRC_DIR}
-find . -type d \( -path ./${GENERATOR_DIR} -o -path ./node_modules \) -prune -o -name "*.md" -print | cpio -pd ${SRC_DIR}
+mkdir ${SRC_DIR}
+find . -type d \( -path ./${GENERATOR_DIR} -o -path ./node_modules \) -prune -o -name "*.md" -exec cp -prv --parents '{}' ./${SRC_DIR}/ ';'
# Copy Netdata html resources
cp -a ./${GENERATOR_DIR}/custom ./${SRC_DIR}/
diff --git a/docs/generator/runtime.txt b/docs/generator/runtime.txt
index d70c8f8d89..5a958026da 100644
--- a/docs/generator/runtime.txt
+++ b/docs/generator/runtime.txt
@@ -1 +1 @@
-3.6
+3.5