]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
If link ends up with at least 2 digit version directory then we check for links insid...
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sun, 17 Feb 2013 17:42:58 +0000 (18:42 +0100)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Sun, 17 Feb 2013 17:42:58 +0000 (18:42 +0100)
pldnotify.awk

index 998488c73a745deade484a825895cd7a0703d57c..9d38d006cc707c4afb0ba78a2b2315d7daeb7612 100755 (executable)
@@ -378,7 +378,12 @@ if (USE_PERL) {
                                continue
                        }
 
-                       retval = (retval " " link)
+                       # link ends with at least 2 digit version
+                       mlink = ""
+                       if (link ~ /^.*\/[0-9\.]+[0-9]\/$/)
+                               mlink = get_links(link)
+
+                       retval = (retval " " link " " mlink)
                        d("href(\"\"): " link)
                } else if (lowerodp ~ /href=[ \t]*'[^']*'/) {
                        sub(/[hH][rR][eE][fF]=[ \t]*'/,"href='",odp)
This page took 0.044792 seconds and 4 git commands to generate.