From 72f557a6a02c433e9e6a0a614e9394221d4cb9d4 Mon Sep 17 00:00:00 2001 From: Guillaume Rousse Date: Thu, 18 Sep 2008 19:43:35 +0000 Subject: don't add php dependencies for doc files --- php.req | 2 ++ 1 file changed, 2 insertions(+) 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/) { -- cgit v1.2.1