aboutsummaryrefslogtreecommitdiff
path: root/models/openid-php-openid-782224d/admin/notabs
blob: b6a7df012196ca03cbf8c73c9f43bcb0902d1d60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/env bash
#
# Look in the local directory for PHP files that have tabs in them. If
# there are files with tabs, print the list of files and exit with
# non-zero status.

tabs=$(./admin/findphp | xargs egrep -n '	' | sort)

if [ ! -z "$tabs" ]
    then
    cat <<EOF 1>&2
Found tabs in:
$tabs
EOF
    exit 1
fi