venus-dashboard/tools/find_executables.sh
zhangbailin 7f3693956f Init pep8 zuul task
Closes-Bug: #2002075
Change-Id: Ia80ddc929ae06f4a6294786da78fcb39f08e315b
2023-01-06 17:07:28 +08:00

13 lines
404 B
Bash

# OUTPUT=`find . \( -name .tox -o -name .git \) -prune -o -type f -perm /a=x -print \
# | grep -v -F -f ./tools/executable_files.txt`
# 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