about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner2019-10-25 08:55:05 -0500
committerEfraim Flashner2019-10-25 09:01:57 -0500
commit88e218c7f247961cd1dc98f082e178599ed5dfc5 (patch)
treeace6d93181fdf13959c7fd5c28c9f7c3bc038d4b
parent3969e3004985cef058ba313f030ed0fff4a5b6bc (diff)
downloadguix-bioinformatics-88e218c7f247961cd1dc98f082e178599ed5dfc5.tar.gz
gn: bnw: Update to 1.22-3.eb6b002.
* gn/packages/bnw.scm (bnw): Update to 1.22-3.eb6b002. Serve from
bnw-test first.
-rw-r--r--gn/packages/bnw.scm7
1 files changed, 4 insertions, 3 deletions
diff --git a/gn/packages/bnw.scm b/gn/packages/bnw.scm
index 99de4fc..bdb6ac5 100644
--- a/gn/packages/bnw.scm
+++ b/gn/packages/bnw.scm
@@ -14,7 +14,7 @@
 
 (define-public bnw
   (let ((commit "eb6b002b924694808384f1a8d7c6d1121806ae04")
-        (revision "2"))
+        (revision "3"))
     (package
       (name "bnw")
       (version (git-version "1.22" revision commit)) ; June 28, 2019
@@ -37,6 +37,8 @@
              (lambda _
                (substitute* "index.html"
                  (("url=home.php") "url=sourcecodes/home.php"))
+               (substitute* "home.php"
+                 (("http://bnw.genenetwork.org/BNW_1.22") "http://bnw-test.genenetwork.org"))
                (substitute* "sourcecodes/header_batchsearch.inc"
                  (("my_style.css") "my_new_style.css"))
                #t))
@@ -71,8 +73,7 @@
                    (("rm") (which "rm"))
                    (("cp") (which "cp")))
                  (substitute*
-                   (append '("home.php")
-                           (find-files "sourcecodes" ".php")
+                   (append (find-files "sourcecodes" ".php")
                            (find-files "sourcecodes/run_scripts" ".*"))
                    (("/usr/bin/dot") (string-append graphviz "/bin/dot")))
                  (substitute* "sourcecodes/build.sh"