From 080d0b605aa7cb0dc433d98b24a0bfeea63a2798 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Tue, 27 Feb 2018 20:45:53 +0100 Subject: gnu: java-commons-jexl-2: Use invoke. * gnu/packages/java.scm (java-commons-jexl-2)[arguments]: Use invoke. --- gnu/packages/java.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 6350b57a80..830ecaf2ff 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -7654,8 +7654,9 @@ configuration and string construction.") (add-before 'build 'run-javacc (lambda _ (with-directory-excursion "src/main/java/org/apache/commons/jexl2/parser/" - (and (zero? (system* "java" "jjtree" "Parser.jjt")) - (zero? (system* "java" "javacc" "Parser.jj"))))))))) + (invoke "java" "jjtree" "Parser.jjt") + (invoke "java" "javacc" "Parser.jj")) + #t))))) (inputs `(("java-commons-logging-minimal" ,java-commons-logging-minimal))) (native-inputs -- cgit v1.2.3