guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/04: gnu: 0ad: Use INVOKE.


From: guix-commits
Subject: 01/04: gnu: 0ad: Use INVOKE.
Date: Tue, 26 Mar 2019 18:14:20 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit 7b67bb1fabfedc8f1542923054e40c49099ec013
Author: Ricardo Wurmus <address@hidden>
Date:   Tue Mar 26 20:21:04 2019 +0100

    gnu: 0ad: Use INVOKE.
    
    * gnu/packages/games.scm (0ad)[arguments]: Use INVOKE.
---
 gnu/packages/games.scm | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index e24e3fa..3a80ba7 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]