tox.ini: Avoid using bash where unnecessary

Switch to sh, which is hopefully more ubiquitously available than bash.

A recent change (commit 085a35d657)
introduced bash dependency for "tox -e pep8".  It broke my environment,
where bash is not available.  This change aims to restore it.
As far as I undestand, the change in question doesn't actually need
the specific shell dialect.  So switch to sh, which is expected to be
available for any POSIX-like systems, would improve the situation.

Closes-Bug: #1382327
Change-Id: Ie023d2265d9949a3e3721f03e865e4acfb460de2
This commit is contained in:
YAMAMOTO Takashi 2014-10-17 12:30:38 +09:00
parent fd37ce7d94
commit 9ffa8bd9e7
1 changed files with 2 additions and 2 deletions

View File

@ -43,8 +43,8 @@ downloadcache = ~/cache/pip
commands =
flake8
neutron-db-manage check_migration
bash -c "find neutron -type f -regex '.*\.pot?' -print0|xargs -0 -n 1 msgfmt --check-format -o /dev/null"
whitelist_externals = bash
sh -c "find neutron -type f -regex '.*\.pot?' -print0|xargs -0 -n 1 msgfmt --check-format -o /dev/null"
whitelist_externals = sh
[testenv:i18n]
commands = python ./tools/check_i18n.py ./neutron ./tools/i18n_cfg.py