File: dont-process-.github-in-docs.patch

package info (click to toggle)
cacti 1.2.30%2Bds1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 67,176 kB
  • sloc: php: 123,193; javascript: 29,825; sql: 2,595; xml: 1,823; sh: 1,228; perl: 194; makefile: 65; python: 51; ruby: 9
file content (13 lines) | stat: -rw-r--r-- 478 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: cacti/docs-source/bin/build_html_docs.sh
===================================================================
--- cacti.orig/docs-source/bin/build_html_docs.sh
+++ cacti/docs-source/bin/build_html_docs.sh
@@ -83,7 +83,7 @@ fi
 
 # process markdown files into html
 echo "Converting files..."
-for FILE in $(find "${BASE_PATH}" -name "*.md")
+for FILE in $(find "${BASE_PATH}" -maxdepth 1 -name "*.md")
 do
 	IFILE=${FILE//$BASE_PATH\/}
 	OFILE=${ODIR}/${IFILE//.md/.html}