gnu: roary: Use INVOKE.

* gnu/packages/bioinformatics.scm (roary)[arguments]: Use INVOKE and return #T
unconditionally.
This commit is contained in:
Ricardo Wurmus 2018-11-08 09:58:05 +01:00
parent a9542937c8
commit ce49fdcce9
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 5 additions and 4 deletions

View File

@ -4762,10 +4762,11 @@ partial genes, and identifies translation initiation sites.")
(getenv "PATH")))
(setenv "PERL5LIB" (string-append (getcwd) "/lib" ":"
(getenv "PERL5LIB")))
(zero? (length (filter (lambda (file)
(display file)(display "\n")
(not (zero? (system* "perl" file))))
(find-files "t" ".*\\.t$"))))))
(for-each (lambda (file)
(display file)(display "\n")
(invoke "perl" file))
(find-files "t" ".*\\.t$"))
#t))
(replace 'install
;; There is no 'install' target in the Makefile.
(lambda* (#:key outputs #:allow-other-keys)