summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2013-05-28 16:20:01 +0000
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2013-05-28 16:20:01 +0000
commit57d2fc906005e073ba942ce5b89fde3ec1eefece (patch)
tree6538e0a5df40281e7c081da4a33d750cd413f2fa
parent5df056c4c06f2a74ed4d5ee965c5bcf237295c58 (diff)
parent5143f45c9c6c65c6fc6e196e5313a4c62f44ff9c (diff)
downloadmorph-57d2fc906005e073ba942ce5b89fde3ec1eefece.tar.gz
Merge branch 'liw/check-x'
Reviewed-by: Daniel Silverstone
-rwxr-xr-xcheck8
-rw-r--r--[-rwxr-xr-x]morphlib/app.py0
-rw-r--r--[-rwxr-xr-x]morphlib/writeexts.py0
3 files changed, 8 insertions, 0 deletions
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
diff --git a/morphlib/app.py b/morphlib/app.py
index e6d8b332..e6d8b332 100755..100644
--- a/morphlib/app.py
+++ b/morphlib/app.py
diff --git a/morphlib/writeexts.py b/morphlib/writeexts.py
index 9e98747c..9e98747c 100755..100644
--- a/morphlib/writeexts.py
+++ b/morphlib/writeexts.py