guix-commits
[Top][All Lists]
Advanced

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

10/28: gnu: b43-tools: Update phase style.


From: Tobias Geerinckx-Rice
Subject: 10/28: gnu: b43-tools: Update phase style.
Date: Fri, 2 Mar 2018 09:53:09 -0500 (EST)

nckx pushed a commit to branch master
in repository guix.

commit 315c89f5ba89e18bd365846a62944820a8760b83
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Thu Mar 1 23:19:27 2018 +0100

    gnu: b43-tools: Update phase style.
    
    * gnu/packages/firmware.scm (b43-tools)[arguments]: Substitute INVOKE
    for SYSTEM* and FOR-EACH for EVERY, and end phases with #t.
---
 gnu/packages/firmware.scm | 19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/firmware.scm b/gnu/packages/firmware.scm
index 5f82f7c..d9d0c29 100644
--- a/gnu/packages/firmware.scm
+++ b/gnu/packages/firmware.scm
@@ -130,19 +130,20 @@ Linux-libre.")
                  #t))
              (replace 'build
                (lambda _
-                 (every (lambda (dir)
-                          (zero? (system* "make" "-C" dir "CC=gcc")))
-                        subdirs)))
+                 (for-each (lambda (dir)
+                             (invoke "make" "-C" dir "CC=gcc"))
+                           subdirs)
+                 #t))
              (replace 'install
                (lambda* (#:key outputs #:allow-other-keys)
                  (let ((out (assoc-ref outputs "out")))
                    (mkdir-p (string-append out "/bin"))
-                   (every (lambda (dir)
-                            (zero?
-                             (system* "make" "-C" dir
-                                      (string-append "PREFIX=" out)
-                                      "install")))
-                          subdirs))))))))
+                   (for-each (lambda (dir)
+                               (invoke "make" "-C" dir
+                                       (string-append "PREFIX=" out)
+                                       "install"))
+                             subdirs)
+                   #t)))))))
       (home-page
        "http://bues.ch/cms/hacking/misc.html#linux_b43_driver_firmware_tools";)
       (synopsis "Collection of tools for the b43 wireless driver")



reply via email to

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