[packages/pldnotify] 2 was treated as part of url. Fix that.

arekm arekm at pld-linux.org
Wed Jan 27 10:38:31 CET 2021


commit 9dd14cd2bdaddc87a86a0d6325da2afec8e5b3ba
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Wed Jan 27 10:38:23 2021 +0100

    2 was treated as part of url. Fix that.

 pldnotify.awk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/pldnotify.awk b/pldnotify.awk
index 9b41dd0..8f76ae5 100755
--- a/pldnotify.awk
+++ b/pldnotify.awk
@@ -745,7 +745,7 @@ function jenkins_upgrade(name, ver, urls,  url, i, c, chunks, nver) {
 # check for update from release-monitoring.org
 function rmo_check(name,    sourceurl, cmd, ver) {
 	sourceurl = "https://release-monitoring.org/api/project/pld-linux/" name
-	cmd = "echo 'var data='\"$(curl -m 45 -sf " sourceurl "2> /dev/null || echo '{}')\"';if (data.version) process.stdout.write(data.version)' | node"
+	cmd = "echo 'var data='\"$(curl -m 45 -sf " sourceurl " 2> /dev/null || echo '{}')\"';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/pldnotify.git/commitdiff/9dd14cd2bdaddc87a86a0d6325da2afec8e5b3ba



More information about the pld-cvs-commit mailing list