commit 400b5745b2172b01a05f54534178104146df3892
Author: Elan Ruusamäe <[email protected]>
Date: Tue Nov 3 17:34:11 2015 +0200
rmo: strip v-prefix
pldnotify.awk | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/pldnotify.awk b/pldnotify.awk
index f0eb73f..e27168c 100755
--- a/pldnotify.awk
+++ b/pldnotify.awk
@@ -732,6 +732,9 @@ function rmo_check(name, sourceurl, cmd, ver) {
cmd | getline ver
close(cmd)
+ # strip vX.Y -> X.y
+ sub("^v", "", ver)
+
return ver
}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/pldnotify.git/commitdiff/400b5745b2172b01a05f54534178104146df3892
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit