Revert "Bug 10606: Remove MySQLism in GetUpcomingDueIssues"
[koha.git] / xt / find-misplaced-executables
blobebee96188670bfb5768c5cd2114af69fdeb193c7
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 under the
10 # terms of the GNU General Public License as published by the Free Software
11 # Foundation; either version 2 of the License, or (at your option) any later
12 # version.
14 # Koha is distributed in the hope that it will be useful, but WITHOUT ANY
15 # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
16 # A PARTICULAR PURPOSE. See the GNU General Public License for more details.
18 # You should have received a copy of the GNU General Public License along
19 # with Koha; if not, write to the Free Software Foundation, Inc.,
20 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
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