mirror of https://github.com/ansible/ansible.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
318 B
Bash
18 lines
318 B
Bash
8 years ago
|
#!/bin/sh
|
||
|
|
||
|
found=''
|
||
|
|
||
|
for path in lib/ansible/modules/ test/units/; do
|
||
|
files=$(find "${path}" -name __init__.py -size '+0')
|
||
|
|
||
|
if [ "${files}" ]; then
|
||
|
echo "${files}"
|
||
|
found=1
|
||
|
fi
|
||
|
done
|
||
|
|
||
|
if [ "${found}" ]; then
|
||
|
echo "One or more __init__.py file(s) listed above are non-empty."
|
||
|
exit 1
|
||
|
fi
|