From 435e6b0192aaf04ea2023d24fc21e9a11137dc69 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Tue, 28 May 2013 16:09:38 +0000 Subject: Add check for executable *.py files --- check | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'check') diff --git a/check b/check index 170ed8bf..9c4e2250 100755 --- a/check +++ b/check @@ -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 -- cgit v1.2.1