aboutsummaryrefslogtreecommitdiffstats
path: root/php.req
diff options
context:
space:
mode:
Diffstat (limited to 'php.req')
-rwxr-xr-xphp.req2
1 files changed, 2 insertions, 0 deletions
diff --git a/php.req b/php.req
index 1ba5cd7..af58ac1 100755
--- a/php.req
+++ b/php.req
@@ -22,6 +22,8 @@ foreach (@ARGV ? $ARGV : <> ) {
push @files, $f;
# skip non-php files
next unless ($f =~ /\.php$/);
+ # skip doc files
+ next if ($f =~ /^\/usr\/share\/doc/);
open(F, "< $f") or die;
if ($f =~ /$pear/) {