aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2018-06-26 12:25:43 +0300
committerEfraim Flashner <efraim@flashner.co.il>2018-06-26 14:45:59 +0300
commit8e14634a885263c44d20f1d1ae3da7290e0e1307 (patch)
tree1a7cdcf0f4fcb217e4987e8ec419279b007d75e5
parent0c66a4ebb825616c00bf9daff32b915418f5e69f (diff)
downloadpatches-8e14634a885263c44d20f1d1ae3da7290e0e1307.tar
patches-8e14634a885263c44d20f1d1ae3da7290e0e1307.tar.gz
gnu: ant-bootstrap: Use INVOKE.
* gnu/packages/java.scm (ant-bootstrap)[arguments]: Substitute INVOKE for SYSTEM*.
-rw-r--r--gnu/packages/java.scm6
1 files changed, 3 insertions, 3 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 4f0801fb82..2551437ed2 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -262,9 +262,9 @@ JNI.")
;; any of the dependencies required to build and run the tests.
(substitute* "build.xml"
(("depends=\"jars,test-jar\"") "depends=\"jars\""))
- (zero? (system* "bash" "bootstrap.sh"
- (string-append "-Ddist.dir="
- (assoc-ref %outputs "out"))))))
+ (invoke "bash" "bootstrap.sh"
+ (string-append "-Ddist.dir="
+ (assoc-ref %outputs "out")))))
(add-after 'build 'strip-jar-timestamps ;based on ant-build-system
(lambda* (#:key outputs #:allow-other-keys)
(define (repack-archive jar)