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

package info (click to toggle)
cacti 1.2.24%2Bds1-1%2Bdeb12u5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 71,012 kB
  • sloc: php: 119,968; javascript: 29,780; sql: 2,632; xml: 1,823; sh: 1,248; perl: 194; makefile: 65; ruby: 9
file content (13 lines) | stat: -rw-r--r-- 472 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
@@ -84,7 +84,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}