8f0a81f559
This should make things run more nicely on systems like FreeBSD, where bash isn't installed in /bin.
10 lines
155 B
Bash
Executable File
10 lines
155 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
if [[ "${1/.html}" == "${1}" ]] ; then
|
|
echo "Not .html, no checking performed"
|
|
exit 0
|
|
fi
|
|
|
|
tidy -utf8 -q < "${1}" 1>/dev/null
|
|
|