aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2018-02-27 20:56:02 +0100
committerRicardo Wurmus <rekado@elephly.net>2018-02-28 23:05:06 +0100
commit13f38d31a4cf3d3dcc7935c21b3288c65f143f00 (patch)
treecc78d93845e47a2004f58a14f1a68869cf4b1ed0
parente85c1bf6cd72887eb20680ac8ebf578b5831e6f6 (diff)
downloadguix-13f38d31a4cf3d3dcc7935c21b3288c65f143f00.tar
guix-13f38d31a4cf3d3dcc7935c21b3288c65f143f00.tar.gz
gnu: antlr3-3.1: Use invoke.
* gnu/packages/java.scm (antlr3-3.1)[arguments]: Use invoke.
-rw-r--r--gnu/packages/java.scm7
1 files changed, 4 insertions, 3 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 3c208ffe64..b3a0c89366 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -5709,12 +5709,13 @@ import org.antlr.grammar.v2.ANTLRTreePrinter;"))
(for-each (lambda (file)
(display file)
(newline)
- (system* "antlr" "-o" dir (string-append dir file)))
+ (invoke "antlr" "-o" dir (string-append dir file)))
'("antlr.g" "antlr.print.g" "assign.types.g"
"buildnfa.g" "define.g")))
(format #t "codegen.g\n")
- (system* "antlr" "-o" "src/org/antlr/codegen"
- "src/org/antlr/codegen/codegen.g")))
+ (invoke "antlr" "-o" "src/org/antlr/codegen"
+ "src/org/antlr/codegen/codegen.g")
+ #t))
(add-before 'build 'fix-build-xml
(lambda _
(substitute* "build.xml"