qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jr...@apache.org
Subject svn commit: r1668001 - in /qpid/site: docs/deferred.js input/deferred.js
Date Fri, 20 Mar 2015 12:29:16 GMT
Author: jross
Date: Fri Mar 20 12:29:16 2015
New Revision: 1668001

URL: http://svn.apache.org/r1668001
Log:
QPID-6334: Fix release link modifier for checksum URLs

Modified:
    qpid/site/docs/deferred.js
    qpid/site/input/deferred.js

Modified: qpid/site/docs/deferred.js
URL: http://svn.apache.org/viewvc/qpid/site/docs/deferred.js?rev=1668001&r1=1668000&r2=1668001&view=diff
==============================================================================
--- qpid/site/docs/deferred.js (original)
+++ qpid/site/docs/deferred.js Fri Mar 20 12:29:16 2015
@@ -406,8 +406,9 @@ function _modifyCurrentReleaseLinks() {
         }
 
         var href = elem.href;
+        var ext = href.substring(href.length - 4)
 
-        if (href.substring(href.length - 4) === ".asc") {
+        if (ext === ".asc" || ext === ".md5" || ext === "sha1") {
             href = href.replace("http://archive.apache.org/dist/qpid/",
                                 "http://www.apache.org/dist/qpid/");
         } else {

Modified: qpid/site/input/deferred.js
URL: http://svn.apache.org/viewvc/qpid/site/input/deferred.js?rev=1668001&r1=1668000&r2=1668001&view=diff
==============================================================================
--- qpid/site/input/deferred.js (original)
+++ qpid/site/input/deferred.js Fri Mar 20 12:29:16 2015
@@ -406,8 +406,9 @@ function _modifyCurrentReleaseLinks() {
         }
 
         var href = elem.href;
+        var ext = href.substring(href.length - 4)
 
-        if (href.substring(href.length - 4) === ".asc") {
+        if (ext === ".asc" || ext === ".md5" || ext === "sha1") {
             href = href.replace("http://archive.apache.org/dist/qpid/",
                                 "http://www.apache.org/dist/qpid/");
         } else {



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


Mime
View raw message