[packages/rpm-build-tools] - allow versions like v12.12 (postgresql.spec) in directory name
arekm
arekm at pld-linux.org
Mon Feb 18 08:29:15 CET 2013
commit e8067adca1f317a1b909cb8f06a2e2a49a1b3a97
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Mon Feb 18 08:29:10 2013 +0100
- allow versions like v12.12 (postgresql.spec) in directory name
pldnotify.awk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/pldnotify.awk b/pldnotify.awk
index 9d38d00..168ca93 100755
--- a/pldnotify.awk
+++ b/pldnotify.awk
@@ -380,7 +380,7 @@ if (USE_PERL) {
# link ends with at least 2 digit version
mlink = ""
- if (link ~ /^.*\/[0-9\.]+[0-9]\/$/)
+ if (link ~ /^.*\/[v]*[0-9\.]+[0-9]\/$/)
mlink = get_links(link)
retval = (retval " " link " " mlink)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/rpm-build-tools.git/commitdiff/e8067adca1f317a1b909cb8f06a2e2a49a1b3a97
More information about the pld-cvs-commit
mailing list