Use xargs -0 instead of --null
This gives compatibility with OS X in the test. Change-Id: I1768e7e7a76c94aaf78c0c11e07a7e60ed138664
This commit is contained in:
parent
e9da55be30
commit
d817058a38
2
tox.ini
2
tox.ini
|
@ -19,7 +19,7 @@ commands = openstack-doc-test --check-niceness {posargs}
|
|||
commands =
|
||||
openstack-doc-test --check-syntax {posargs}
|
||||
# Check that .po and .pot files are valid:
|
||||
bash -c "find doc -type f -regex '.*\.pot?' -print0|xargs --null -n 1 msgfmt --check-format -o /dev/null"
|
||||
bash -c "find doc -type f -regex '.*\.pot?' -print0|xargs -0 -n 1 msgfmt --check-format -o /dev/null"
|
||||
|
||||
[testenv:checkdeletions]
|
||||
commands = openstack-doc-test --check-deletions {posargs}
|
||||
|
|
Loading…
Reference in New Issue