summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2019-03-26 20:21:04 +0100
committerRicardo Wurmus <rekado@elephly.net>2019-03-26 23:13:51 +0100
commit7b67bb1fabfedc8f1542923054e40c49099ec013 (patch)
treeeaf70a412875b972ae4bc262eb281ff42ae4540f
parentc771b799bdd4c3895469867e5413ec1079f97ab8 (diff)
downloadguix-7b67bb1fabfedc8f1542923054e40c49099ec013.tar.gz
gnu: 0ad: Use INVOKE.
* gnu/packages/games.scm (0ad)[arguments]: Use INVOKE.
-rw-r--r--gnu/packages/games.scm12
1 files changed, 6 insertions, 6 deletions
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index e24e3facaf..3a80ba72c6 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -4716,11 +4716,11 @@ fight against their plot and save his fellow rabbits from slavery.")
                (setenv "JOBS" (string-append "-j" jobs))
                (setenv "CC" "gcc")
                (with-directory-excursion "build/workspaces"
-                 (zero? (system* "./update-workspaces.sh"
-                                 (string-append "--libdir=" lib)
-                                 (string-append "--datadir=" data)
-                                 ;; TODO: "--with-system-nvtt"
-                                 "--with-system-mozjs38"))))))
+                 (invoke "./update-workspaces.sh"
+                         (string-append "--libdir=" lib)
+                         (string-append "--datadir=" data)
+                         ;; TODO: "--with-system-nvtt"
+                         "--with-system-mozjs38")))))
          (delete 'check)
          (replace 'install
            (lambda* (#:key inputs outputs #:allow-other-keys)
@@ -4754,7 +4754,7 @@ fight against their plot and save his fellow rabbits from slavery.")
          (add-after 'install 'check
            (lambda _
              (with-directory-excursion "system"
-               (zero? (system* "./test"))))))))
+               (invoke "./test")))))))
     (home-page "https://play0ad.com")
     (synopsis "3D real-time strategy game of ancient warfare")
     (description "0 A.D. is a real-time strategy (RTS) game of ancient