diff options
author | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2013-05-28 16:09:38 +0000 |
---|---|---|
committer | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2013-05-28 16:09:38 +0000 |
commit | 435e6b0192aaf04ea2023d24fc21e9a11137dc69 (patch) | |
tree | 34e3ec641aec46bc957abb6edc3149ecad031385 /check | |
parent | 5df056c4c06f2a74ed4d5ee965c5bcf237295c58 (diff) | |
download | morph-435e6b0192aaf04ea2023d24fc21e9a11137dc69.tar.gz |
Add check for executable *.py files
Diffstat (limited to 'check')
-rwxr-xr-x | check | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -129,5 +129,13 @@ then ;; esac done + + echo 'Checking for executable *.py files' + find . -type f -name '*.py' -perm +111 | + while read x + do + echo "ERROR: $x is executable" 1>&2 + errors=1 + done fi exit $errors |