From d9bf22a0e29c2a70049443a0ae8521a2c0492c8b Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Sun, 11 Dec 2011 06:38:23 -0500 Subject: initial commit for git repository --- models/openid-php-openid-782224d/admin/notabs | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 models/openid-php-openid-782224d/admin/notabs (limited to 'models/openid-php-openid-782224d/admin/notabs') diff --git a/models/openid-php-openid-782224d/admin/notabs b/models/openid-php-openid-782224d/admin/notabs new file mode 100644 index 000000000..b6a7df012 --- /dev/null +++ b/models/openid-php-openid-782224d/admin/notabs @@ -0,0 +1,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 <&2 +Found tabs in: +$tabs +EOF + exit 1 +fi -- cgit v1.2.3