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/nolonglines | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 models/openid-php-openid-782224d/admin/nolonglines (limited to 'models/openid-php-openid-782224d/admin/nolonglines') diff --git a/models/openid-php-openid-782224d/admin/nolonglines b/models/openid-php-openid-782224d/admin/nolonglines new file mode 100644 index 000000000..3e2addc70 --- /dev/null +++ b/models/openid-php-openid-782224d/admin/nolonglines @@ -0,0 +1,14 @@ +#!/usr/bin/env bash + +files_with_long_lines=$(./admin/findphp | + xargs -L 1 -I FILENAME /usr/bin/env perl admin/longlines.pl FILENAME 80) + +if [ "$files_with_long_lines" ] + then + cat <&2 +Found lines > 80 characters in: + +$files_with_long_lines +EOF + exit 1 +fi -- cgit v1.2.3