guix-commits
[Top][All Lists]
Advanced

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

19/30: gnu: unzip: Use invoke instead of system*.


From: Mark H. Weaver
Subject: 19/30: gnu: unzip: Use invoke instead of system*.
Date: Fri, 16 Mar 2018 05:03:38 -0400 (EDT)

mhw pushed a commit to branch core-updates
in repository guix.

commit fa76696b0084b2201e440e5f8813bdba0fdf0e08
Author: Mark H Weaver <address@hidden>
Date:   Fri Mar 16 02:42:05 2018 -0400

    gnu: unzip: Use invoke instead of system*.
    
    * gnu/packages/compression.scm (unzip)[arguments]: Use invoke.
---
 gnu/packages/compression.scm | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm
index ea81a6f..766aeb4 100644
--- a/gnu/packages/compression.scm
+++ b/gnu/packages/compression.scm
@@ -1765,11 +1765,11 @@ Compression ratios of 2:1 to 3:1 are common for text 
files.")
                   (delete 'configure)
                   (replace 'build
                     (lambda* (#:key make-flags #:allow-other-keys)
-                      (zero? (apply system* "make"
-                                    `("-j" ,(number->string
-                                             (parallel-job-count))
-                                      ,@make-flags
-                                      "generic_gcc"))))))
+                      (apply invoke "make"
+                             `("-j" ,(number->string
+                                      (parallel-job-count))
+                               ,@make-flags
+                               "generic_gcc")))))
        #:make-flags (list "-f" "unix/Makefile"
                           (string-append "prefix=" %output)
                           (string-append "MANDIR=" %output 
"/share/man/man1"))))



reply via email to

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