From: atz Date: Wed, 9 Jun 2010 21:44:00 +0000 (+0000) Subject: Some python code is non-executable (script_x_check updated) X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=307c28f2adca1127a7e5f4a0248247b9bbf197b5;p=contrib%2FConifer.git Some python code is non-executable (script_x_check updated) This corrects an overreach on the earlier patch. git-svn-id: svn://svn.open-ils.org/ILS/trunk@16644 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/extras/Evergreen.py b/Open-ILS/src/extras/Evergreen.py old mode 100755 new mode 100644 diff --git a/Open-ILS/src/python/oils/__init__.py b/Open-ILS/src/python/oils/__init__.py old mode 100755 new mode 100644 diff --git a/Open-ILS/src/python/oils/const.py b/Open-ILS/src/python/oils/const.py old mode 100755 new mode 100644 diff --git a/Open-ILS/src/python/oils/event.py b/Open-ILS/src/python/oils/event.py old mode 100755 new mode 100644 diff --git a/Open-ILS/src/python/oils/org.py b/Open-ILS/src/python/oils/org.py old mode 100755 new mode 100644 diff --git a/Open-ILS/src/python/oils/system.py b/Open-ILS/src/python/oils/system.py old mode 100755 new mode 100644 diff --git a/Open-ILS/src/python/oils/utils/__init__.py b/Open-ILS/src/python/oils/utils/__init__.py old mode 100755 new mode 100644 diff --git a/Open-ILS/src/python/oils/utils/csedit.py b/Open-ILS/src/python/oils/utils/csedit.py old mode 100755 new mode 100644 diff --git a/Open-ILS/src/python/oils/utils/idl.py b/Open-ILS/src/python/oils/utils/idl.py old mode 100755 new mode 100644 diff --git a/Open-ILS/src/python/oils/utils/utils.py b/Open-ILS/src/python/oils/utils/utils.py old mode 100755 new mode 100644 diff --git a/build/i18n/tests/testhelper.py b/build/i18n/tests/testhelper.py old mode 100755 new mode 100644 diff --git a/build/tools/script_x_check.sh b/build/tools/script_x_check.sh index 18e892a6f5..d1e3a5578a 100755 --- a/build/tools/script_x_check.sh +++ b/build/tools/script_x_check.sh @@ -6,5 +6,31 @@ # usage: run this from the base directory of your repo, # or wherever you want to check, inclusive of subdirectories -find . \( -name "*.pl" -o -name "*.sh" -o -name "*.py" \) ! -executable -ls +find . \ + \( -path ./Open-ILS/src/python/oils -prune \ + -o -path ./build/i18n/tests/testhelper.py -prune \ + -o -path ./Open-ILS/src/extras/Evergreen.py -prune \ + \) -o \ +\ + \( \ + -name "*.pl" \ + -o -name "*.sh" \ + -o -name "*.py" \ + \) \ + \( ! -executable \) \ + -ls ; +exit; + + +######################################################## +These should be exceptions (non-executable python libs): +./Open-ILS/src/python/oils/const.py +./Open-ILS/src/python/oils/event.py +./Open-ILS/src/python/oils/org.py +./Open-ILS/src/python/oils/system.py +./Open-ILS/src/python/oils/utils/utils.py +./Open-ILS/src/python/oils/utils/csedit.py +./Open-ILS/src/python/oils/utils/idl.py +./Open-ILS/src/extras/Evergreen.py +./build/i18n/tests/testhelper.py