Bug 23194: Allow HTML in item public notes to be processed on OPAC details
[koha.git] / xt / find-misplaced-executables
blob3a64e5aad3a1144d49f6c009849996da7a542253
1 #!/bin/sh
3 # Script to find files that probably should not be executed.
5 # Copyright 2010 Catalyst IT Ltd
7 # This file is part of Koha.
9 # Koha is free software; you can redistribute it and/or modify it
10 # under the terms of the GNU General Public License as published by
11 # the Free Software Foundation; either version 3 of the License, or
12 # (at your option) any later version.
14 # Koha is distributed in the hope that it will be useful, but
15 # WITHOUT ANY WARRANTY; without even the implied warranty of
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 # GNU General Public License for more details.
19 # You should have received a copy of the GNU General Public License
20 # along with Koha; if not, see <http://www.gnu.org/licenses>.
22 set -e
24 find . \
25 -name misc -prune \
26 -o -name svc -prune \
27 -o -name xt -prune \
28 -o -name t -prune \
29 -o -name .git -prune \
30 -o -name blib -prune \
31 -o -name scripts -prune \
32 -o -name debian -prune \
33 -o -executable -type f \
34 '!' -name '*.pl' \
35 '!' -name '*.sh' \
36 '!' -name '*.plugin' \
37 '!' -name unapi \
38 -print