mirror of https://github.com/Icinga/icinga2.git
Add list of blacklisted words.
This commit is contained in:
parent
6559c4b2ff
commit
4e6cb1e914
|
@ -0,0 +1,3 @@
|
||||||
|
seperate
|
||||||
|
logic
|
||||||
|
magic
|
|
@ -1,5 +1,13 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
cd -- `dirname $0`
|
cd -- `dirname $0`
|
||||||
|
|
||||||
|
for badword in $(cat BLACKLIST); do
|
||||||
|
if grep $badword *.md; then
|
||||||
|
echo "Documentation contains banned word."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
cat <<HTML
|
cat <<HTML
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
|
|
Loading…
Reference in New Issue