From: Michael Tremer Date: Fri, 3 Sep 2010 18:03:34 +0000 (+0200) Subject: python: Make all *.py not executeable. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=be86bab5a1b66f007c324279a36a0e5f58b686fa;p=ipfire-3.x.git python: Make all *.py not executeable. --- diff --git a/pkgs/core/python/python.nm b/pkgs/core/python/python.nm index 48716e93a..a4d3598e5 100644 --- a/pkgs/core/python/python.nm +++ b/pkgs/core/python/python.nm @@ -78,4 +78,7 @@ define STAGE_INSTALL cd $(DIR_APP) && make install DESTDIR=$(BUILDROOT) rm -rf $(BUILDROOT)/usr/lib/python*/test/ + + # All *.py files don't need to be executeable... + find $(BUILDROOT)/usr/lib/python*/ -name "*.py" | xargs chmod a-x -v endef