From cb7c4cbfa8a1c83ad8cf230d951c0b7913126c1b Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 21 Aug 2019 01:37:01 -0500 Subject: gn: edirect-gn: Install missing binary. * gn/packages/bioinformatics.scm (edirect-gn)[arguments]: Install missing 'efetch' binary. Sort installed files alphabetically. Substitute call to 'exec perl' for all potentially affected files. --- gn/packages/bioinformatics.scm | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/gn/packages/bioinformatics.scm b/gn/packages/bioinformatics.scm index 31be859..26337d1 100644 --- a/gn/packages/bioinformatics.scm +++ b/gn/packages/bioinformatics.scm @@ -943,7 +943,7 @@ reads.") "rchive.go" "run-ncbi-converter") (("gunzip") (string-append gzip "/bin/gunzip"))) - (substitute* "efetch" + (substitute* (find-files "." "^e") (("exec perl") "exec")) (substitute* '("xtract" "rchive") ;; or add current directory to PATH @@ -957,9 +957,10 @@ reads.") (for-each (lambda (file) (install-file file bin)) - '("edirect.pl" "archive-pubmed" "pm-prepare" "download-pubmed" - "pm-stash" "pm-refresh" "fetch-pubmed" "xtract" "has-asp" - "asp-ls" "asp-cp" "ftp-ls" "ftp-cp" "rchive" "efetch")) + '("archive-pubmed" "asp-cp" "asp-ls" "download-pubmed" + "edirect.pl" "efetch" "epost" "fetch-pubmed" "ftp-cp" + "ftp-ls" "has-asp" "pm-prepare" "pm-refresh" "pm-stash" + "rchive" "xtract")) (copy-file xtract.linux (string-append bin "/xtract.Linux")) (copy-file rchive.linux (string-append bin "/rchive.Linux")) (chmod (string-append bin "/xtract.Linux") #o555) -- cgit v1.2.3