![Ivan Kolodyazhny](/assets/img/avatar_default.png)
This patch also adds checks for executable files in pep8 job. Change-Id: I862ee6c891af05c58ab2aca1178cfd984efb2d3c
12 lines
327 B
Bash
12 lines
327 B
Bash
OUTPUT=`find . \( -name .tox -o -name .git \) -prune -o -type f -perm /a=x -print`
|
|
if [ -n "$OUTPUT" ]; then
|
|
echo "Unexpected executable files are found:"
|
|
for f in $OUTPUT; do
|
|
echo $f
|
|
done
|
|
echo
|
|
echo "If you really need to add an executable file, add it to tools/executable_files.txt"
|
|
exit 1
|
|
fi
|
|
|