summaryrefslogtreecommitdiff
path: root/tools/misc-sanity-checks.sh
diff options
context:
space:
mode:
authorVictor Morales <victor.morales@intel.com>2017-01-31 16:52:42 -0600
committerIhar Hrachyshka <ihrachys@redhat.com>2017-02-25 06:29:55 +0000
commita14439549f15ad48bb9bc4465a04b87b6fd14826 (patch)
tree996c39ebc56acf1586b7ac7a38ae7979d049b561 /tools/misc-sanity-checks.sh
parentd46636112f45fdf181751285835229b16886ab28 (diff)
downloadneutron-a14439549f15ad48bb9bc4465a04b87b6fd14826.tar.gz
Add bashate support
Bashate is a style checker program for bash scripts. This addition improves the quality of the current bash scripts and ensures that any future change will follow the same standards. Change-Id: Ia346f77632d4ac7beb288fa3aacea221d7969c87
Diffstat (limited to 'tools/misc-sanity-checks.sh')
-rwxr-xr-xtools/misc-sanity-checks.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/misc-sanity-checks.sh b/tools/misc-sanity-checks.sh
index 8f8ebc670f..a62fd544e9 100755
--- a/tools/misc-sanity-checks.sh
+++ b/tools/misc-sanity-checks.sh
@@ -38,8 +38,8 @@ check_pot_files_errors () {
# obsolete entries duplicate normal entries. Prevent obsolete
# entries to slip in
find neutron -type f -regex '.*\.pot?' \
- -print0|xargs -0 -n 1 msgfmt --check-format \
- -o /dev/null
+ -print0|xargs -0 -n 1 msgfmt --check-format \
+ -o /dev/null
if [ "$?" -ne 0 ]; then
echo "PO files syntax is not correct!" >>$FAILURES
fi