guix-commits
[Top][All Lists]
Advanced

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

15/17: gnu: cowsay: Use INVOKE.


From: guix-commits
Subject: 15/17: gnu: cowsay: Use INVOKE.
Date: Sat, 26 Jan 2019 10:34:55 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit 482bdf2522f468263736302796e9ca04d2c27764
Author: Ricardo Wurmus <address@hidden>
Date:   Sat Jan 26 14:57:29 2019 +0100

    gnu: cowsay: Use INVOKE.
    
    * gnu/packages/games.scm (cowsay)[arguments]: Use INVOKE in build phases.
---
 gnu/packages/games.scm | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 2ab78f9..1c9be1b 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -338,14 +338,14 @@ and against the others like yourself, that want what you 
have.")
          (delete 'build)                ; nothing to be built
          (replace 'install
            (lambda* (#:key outputs #:allow-other-keys)
-             (zero? (system* "sh" "install.sh"
-                             (assoc-ref outputs "out")))))
+             (invoke "sh" "install.sh"
+                     (assoc-ref outputs "out"))))
          (delete 'check)
          (add-after 'install 'check
            (lambda* (#:key outputs #:allow-other-keys)
-             (zero? (system* (string-append (assoc-ref outputs "out")
-                                            "/bin/cowsay")
-                             "We're done!")))))))
+             (invoke (string-append (assoc-ref outputs "out")
+                                    "/bin/cowsay")
+                     "We're done!"))))))
     (inputs
      `(("perl" ,perl)))
     (home-page (string-append "https://web.archive.org/web/20071026043648/";



reply via email to

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