@cryptotaxi247 / netdata-1 / commits / 9f5cacbd3

Fix broken docs builds (#7409)

* Trying python 3.5 * cpio -> cp * Improved cp command

Joel Hans committed Dec 3, 2019 at 21:17 UTC 9f5cacbd3effa6d49fc21a77a88fc6f38d8cbcb5
2 files changed +3 -2
docs/generator/buildhtml.sh
+2 -1
@@ -22,7 +22,8 @@ git clone https://github.com/netdata/go.d.plugin.git ${GO_D_DIR}
22 # Copy all Netdata .md files to docs/generator/src. Exclude htmldoc itself and also the directory node_modules generatord by Netlify
23 echo "Copying files"
24 rm -rf ${SRC_DIR}
25 -find . -type d \( -path ./${GENERATOR_DIR} -o -path ./node_modules \) -prune -o -name "*.md" -print | cpio -pd ${SRC_DIR}
25 +mkdir ${SRC_DIR}
26 +find . -type d \( -path ./${GENERATOR_DIR} -o -path ./node_modules \) -prune -o -name "*.md" -exec cp -prv --parents '{}' ./${SRC_DIR}/ ';'
27
28 # Copy Netdata html resources
29 cp -a ./${GENERATOR_DIR}/custom ./${SRC_DIR}/
docs/generator/runtime.txt
+1 -1
@@ -1 +1 @@
1 -3.6
1 +3.5