]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- dont generate dependencies for files that does not match *.php (as we
authorMichal Moskal <michal@moskal.me>
Wed, 23 Apr 2003 14:31:17 +0000 (14:31 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  dont generate provides for them)

Changed files:
    rpm-php-requires -> 1.15

rpm-php-requires

index bcbdea179eb364ff3e3a6c52fce3a1ddac9c2d61..2a3fb601ac143e2bcc7fd30ca02f84dd91255cee 100644 (file)
@@ -48,6 +48,7 @@ foreach (@ARGV ? $ARGV : <> ) {
                        }
 
                        next if ($x =~ m|^\./| or $x =~ /\$/);
+                       next unless ($x =~ /\.php$/);
                        $req{$x} = 1;
                }
 
@@ -66,6 +67,7 @@ foreach (@ARGV ? $ARGV : <> ) {
                        }
 
                        next if ($x =~ /\$/);
+                       next unless ($x =~ /\.php$/);
 
                        $x = "$file_dir/$x";
                        $x =~ s|/+|/|g;
This page took 0.051503 seconds and 4 git commands to generate.