]> git.evergreen-ils.org Git - working/Evergreen.git/blob - build/tools/script_x_check.sh
LP1615805 No inputs after submit in patron search (AngularJS)
[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 ./build/i18n/tests/testhelper.py -prune \
11      -o -path ./Open-ILS/src/extras/Evergreen.py -prune \
12     \) -o \
13 \
14     \( \
15        -name "*.pl" \
16     -o -name "*.sh" \
17     -o -name "*.py" \
18     \) \
19     \( ! -executable \) \
20     -ls ;
21
22 exit;
23
24
25 ########################################################
26 These should be exceptions (non-executable python libs):
27 ./Open-ILS/src/extras/Evergreen.py
28 ./build/i18n/tests/testhelper.py