summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2018-06-26 12:26:57 +0300
committerEfraim Flashner <efraim@flashner.co.il>2018-06-26 14:45:59 +0300
commit0b302a161daa6615aeb9f7f1c812539cbf01edb7 (patch)
tree2ff1b6b9ab58a7bd7f8003e05a183341514062e2
parent8e14634a885263c44d20f1d1ae3da7290e0e1307 (diff)
downloadguix-0b302a161daa6615aeb9f7f1c812539cbf01edb7.tar.gz
gnu: ecj-bootstrap: Use INVOKE.
* gnu/packages/java.scm (ecj-bootstrap)[arguments]: Substitute INVOKE
for SYSTEM*.
-rw-r--r--gnu/packages/java.scm8
1 files 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 @@ build process and its dependencies, whereas Make uses Makefile format.")
 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")