]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- skip modules which begin with a dot (perl.req)
authorpius <pius@pld-linux.org>
Thu, 4 Nov 1999 21:23:05 +0000 (21:23 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm-perl-macros.patch -> 1.13

rpm-perl-macros.patch

index e3bd72191719487873ce2e88ae0ebbda8b8f764d..ad94c33165b6c12f3801bfc79b691ef8536dea93 100644 (file)
        next;
      }
  
-@@ -108,8 +120,24 @@
+@@ -108,8 +120,28 @@
        # will be included with the name sys/systeminfo.ph so only use the
        # basename of *.ph files
  
 +
 +      ($module =~ m/Mac|OS2|MSDOS|Win32|VMS|vmsish/) && next;
 +
++      # if the module name starts in a dot it is not a module name
++
++      ($module =~ m/^\./) && next;
++
 +      # if the module ends with .pm strip it to leave only basename
 +
 +      ($module =~ m/\.pm$/) && ($module =~ s/\.pm//g);
This page took 0.040483 seconds and 4 git commands to generate.