]> git.evergreen-ils.org Git - working/Evergreen.git/blob - build/tools/script_x_check.sh
Enable update_db.sh to handle upgrading databases with release version
[working/Evergreen.git] / build / tools / script_x_check.sh
1 #!/bin/bash
2 #
3 # Author: Joe Atzberger
4 # Purpose: identify files that should be executable, but aren't.
5 #
6 # usage: run this from the base directory of your repo,
7 #   or wherever you want to check, inclusive of subdirectories
8
9 find . \
10     \(  -path ./Open-ILS/src/python/oils -prune \
11      -o -path ./build/i18n/tests/testhelper.py -prune \
12      -o -path ./Open-ILS/src/extras/Evergreen.py -prune \
13     \) -o \
14 \
15     \( \
16        -name "*.pl" \
17     -o -name "*.sh" \
18     -o -name "*.py" \
19     \) \
20     \( ! -executable \) \
21     -ls ;
22
23 exit;
24
25
26 ########################################################
27 These should be exceptions (non-executable python libs):
28 ./Open-ILS/src/python/oils/const.py
29 ./Open-ILS/src/python/oils/event.py
30 ./Open-ILS/src/python/oils/org.py
31 ./Open-ILS/src/python/oils/system.py
32 ./Open-ILS/src/python/oils/utils/utils.py
33 ./Open-ILS/src/python/oils/utils/csedit.py
34 ./Open-ILS/src/python/oils/utils/idl.py
35 ./Open-ILS/src/extras/Evergreen.py
36 ./build/i18n/tests/testhelper.py