]> git.pld-linux.org Git - packages/rpm.git/blobdiff - rpm-php-requires
- drop platform definitions unused in rpm.org
[packages/rpm.git] / 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.029217 seconds and 4 git commands to generate.