manila-image-elements/tools/run_bashate.sh
Ben Swartzlander 9637c86877 Don't run bashate on conf files
Bashate seems to be running on many files it shouldn't. There
is an error related to a conf file, so I'm explicitly excluding
conf files. Also reformat the run_bashate script so it doesn't
warn about itself.

Change-Id: I3986ecefcfb91c6a090697c782371dd100dc0d67
2016-03-02 16:43:00 -05:00

8 lines
243 B
Bash
Executable File

#!/bin/bash -xe
find ./ -not -wholename \*.tox/\* -and \
\( -name \*.sh -or -wholename \*.d/\* -and \
-not -name \*.md -and -not -name \*.rst -and \
-not -name \*.py -and -not -name \*.conf \) \
-print0 | xargs -0 bashate -v