From 9637c86877c91c04ff39236acafcfa43b1d22c36 Mon Sep 17 00:00:00 2001 From: Ben Swartzlander Date: Wed, 2 Mar 2016 16:41:17 -0500 Subject: [PATCH] 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 --- tools/run_bashate.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tools/run_bashate.sh b/tools/run_bashate.sh index e8dab51..93ab45b 100755 --- a/tools/run_bashate.sh +++ b/tools/run_bashate.sh @@ -1,3 +1,7 @@ #!/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 \) -print0 | xargs -0 bashate -v +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