gnu: ant-bootstrap: Use INVOKE.

* gnu/packages/java.scm (ant-bootstrap)[arguments]: Substitute INVOKE
for SYSTEM*.
This commit is contained in:
Efraim Flashner 2018-06-26 12:25:43 +03:00
parent 0c66a4ebb8
commit 8e14634a88
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -262,9 +262,9 @@ (define ant-bootstrap
;; 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"
(invoke "bash" "bootstrap.sh"
(string-append "-Ddist.dir="
(assoc-ref %outputs "out"))))))
(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)