[Top][All Lists]

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

04/07: gnu: syslinux: Use INVOKE.

From: Tobias Geerinckx-Rice
Subject: 04/07: gnu: syslinux: Use INVOKE.
Date: Wed, 12 Sep 2018 11:01:29 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit 60d8db74c66a31af3da180d45ebb045622c469c8
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Tue Sep 11 22:06:42 2018 +0200

    gnu: syslinux: Use INVOKE.
    * gnu/packages/bootloaders.scm (syslinux)[arguments]: Substitute INVOKE
    for SYSTEM*.
 gnu/packages/bootloaders.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/bootloaders.scm b/gnu/packages/bootloaders.scm
index e9abf39..74e6890 100644
--- a/gnu/packages/bootloaders.scm
+++ b/gnu/packages/bootloaders.scm
@@ -304,14 +304,14 @@ menu to select one of the installed operating systems.")
            (delete 'configure)
            (add-before 'build 'set-permissions
              (lambda _
-               (zero? (system* "chmod" "a+w" "utils/"))))
+               (invoke "chmod" "a+w" "utils/")))
            (replace 'check
              (lambda _
                (setenv "CC" "gcc")
                (substitute* "tests/unittest/include/unittest/unittest.h"
                  ;; Don't look up headers under /usr.
                  (("/usr/include/") ""))
-               (zero? (system* "make" "unittest")))))))
+               (invoke "make" "unittest"))))))
       (home-page "";)
       (synopsis "Lightweight Linux bootloader")
       (description "Syslinux is a lightweight Linux bootloader.")

reply via email to

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