Debian Codegraph @

xtools/my-check-file-part-of.sh

raw symbols SCIP
1 #!/bin/shscip-shell filesystem . . `/bin/sh`.
2
3 # my-check-file-is-part-of.sh -- grep for spelling errors
4
5 # Copyright 2009, 2010, 2011, 2012 Kevin Ryde
6
7 # my-check-file-is-part-of.sh is shared by several distributions.
8 #
9 # my-check-file-is-part-of.sh is free software; you can redistribute it
10 # and/or modify it under the terms of the GNU General Public License as
11 # published by the Free Software Foundation; either version 3, or (at your
12 # option) any later version.
13 #
14 # my-check-file-is-part-of.sh is distributed in the hope that it will be
15 # useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
17 # Public License for more details.
18 #
19 # You should have received a copy of the GNU General Public License along
20 # with this file. If not, see <http://www.gnu.org/licenses/>.
21
22
23 exit 0
24
25 set -e
26 set -x
27
28 # $(MY_EXTRA_FILE_PART_OF)
29
30 if grepscip-shell system . . grep. --text 'This file is'' part of ' -r . | egrepscip-shell system . . egrep. -iv '$DISTNAME'
31 then falsescip-shell system . . false.
32 else truescip-shell system . . true.
33 fi
34