From 0b302a161daa6615aeb9f7f1c812539cbf01edb7 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 26 Jun 2018 12:26:57 +0300 Subject: gnu: ecj-bootstrap: Use INVOKE. * gnu/packages/java.scm (ecj-bootstrap)[arguments]: Substitute INVOKE for SYSTEM*. --- gnu/packages/java.scm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 2551437ed2..85d97ff9e0 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -359,10 +359,10 @@ (define ecj-bootstrap Main-Class: org.eclipse.jdt.internal.compiler.batch.Main\n"))) ;; Compile it all! - (and (zero? (apply system* "jikes" - (find-files "." "\\.java$"))) - (zero? (system* "fastjar" "cvfm" - "ecj-bootstrap.jar" "manifest" "."))))) + (and (apply invoke "jikes" + (find-files "." "\\.java$")) + (invoke "fastjar" "cvfm" + "ecj-bootstrap.jar" "manifest" ".")))) (replace 'install (lambda* (#:key outputs #:allow-other-keys) (let ((share (string-append (assoc-ref outputs "out") -- cgit v1.2.3