summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2018-06-26 16:28:57 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2018-06-27 12:46:29 +0200
commit5bad645159f34070c326e5e0f91b8ae7f4cfd269 (patch)
tree5367cf03c4986e401ace7ab0de74e88d4c839c1c /gnu
parent923e2d249e26760862b602fca0edecddecef3e57 (diff)
downloadguix-5bad645159f34070c326e5e0f91b8ae7f4cfd269.tar.gz
gnu: java-jgit: Return #t from phases.
* gnu/packages/version-control.scm (java-jgit)[arguments]: Substitute
INVOKE for SYSTEM*. Return #t rather than undefined from phases.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/version-control.scm7
1 files changed, 4 insertions, 3 deletions
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index fa36f871c7..86d6afef3e 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -1904,9 +1904,10 @@ unique algebra of patches called @url{http://darcs.net/Theory,Patchtheory}.
          (add-after 'build 'add-properties
            (lambda* (#:key jar-name #:allow-other-keys)
              (with-directory-excursion "src"
-               (zero? (apply system* "jar" "-uf"
-                             (string-append "../build/jar/" jar-name)
-                             (find-files "." "\\.properties$")))))))))
+               (apply invoke "jar" "-uf"
+                      (string-append "../build/jar/" jar-name)
+                      (find-files "." "\\.properties$")))
+             #t)))))
     (inputs
      `(("java-classpathx-servletapi" ,java-classpathx-servletapi)
        ("java-javaewah" ,java-javaewah)