e05d6d58a9
Let's remove xargs GNU Extended option -r, --no-run-if-empty in tox.ini. Change-Id: Ia014da76d51fa538513702560cd86da2bb1ae958
11 lines
193 B
Bash
Executable File
11 lines
193 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
FIND_DIRS=${*:-"."}
|
|
|
|
find $FIND_DIRS -type f \( -name '*.po' -o -name '*.pot' \) -print0 | \
|
|
while read -r -d '' FILE; do
|
|
msgfmt --check-format -o /dev/null "$FILE"
|
|
done
|