commit 3c12d9f86b91190f2389e3f96c5d4e74618da1cf
Author: Elan Ruusamäe <[email protected]>
Date:   Sun Nov 1 21:32:59 2015 +0200

    rmo_check: handle missing packages

 pldnotify.awk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/pldnotify.awk b/pldnotify.awk
index 2215b67..d521abb 100755
--- a/pldnotify.awk
+++ b/pldnotify.awk
@@ -732,9 +732,9 @@ function jenkins_upgrade(name, ver, urls,  url, i, c, 
chunks, nver) {
 }
 
 # check for update from release-monitoring.org
-function rmo_check(name,    sourceurl, cmd) {
+function rmo_check(name,    sourceurl, cmd, ver) {
        sourceurl = "https://release-monitoring.org/api/project/pld-linux/"; name
-       cmd = "echo 'var data='$(curl -s " sourceurl 
")';process.stdout.write(data.version)' | node"
+       cmd = "echo 'var data='\"$(curl -s " sourceurl ")\"';if (data.version) 
process.stdout.write(data.version)' | node"
        d("rmo: " cmd);
        cmd | getline ver
        close(cmd)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rpm-build-tools.git/commitdiff/3c12d9f86b91190f2389e3f96c5d4e74618da1cf

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to