efraim pushed a commit to branch master
in repository guix.

commit 0efb64524bf3abaf8f4de9514fd0fb083300b2f6
Author: Efraim Flashner <efr...@flashner.co.il>
Date:   Tue Mar 13 19:57:14 2018 +0200

    gnu: tinyxml: Use 'invoke'.
    
    * gnu/packages/xml.scm (tinyxml)[arguments]: Replace 'system*' calls
    with 'invoke'.
---
 gnu/packages/xml.scm | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm
index 80933a8..bde959a 100644
--- a/gnu/packages/xml.scm
+++ b/gnu/packages/xml.scm
@@ -5,7 +5,7 @@
 ;;; Copyright © 2015 Sou Bunnbu <iyzs...@gmail.com>
 ;;; Copyright © 2015, 2016, 2017, 2018 Ricardo Wurmus <rek...@elephly.net>
 ;;; Copyright © 2015, 2016, 2017 Mark H Weaver <m...@netris.org>
-;;; Copyright © 2015, 2016, 2017 Efraim Flashner <efr...@flashner.co.il>
+;;; Copyright © 2015, 2016, 2017, 2018 Efraim Flashner <efr...@flashner.co.il>
 ;;; Copyright © 2015 Raimon Grau <raimons...@gmail.com>
 ;;; Copyright © 2016 Mathieu Lirzin <m...@gnu.org>
 ;;; Copyright © 2016, 2017 Leo Famulari <l...@famulari.name>
@@ -1007,12 +1007,12 @@ UTF-8 and UTF-16 encoding.")
          (delete 'configure)
          (add-after 'build 'build-shared-library
            (lambda _
-             (zero? (system* "g++" "-Wall" "-O2" "-shared" "-fpic"
-                             "tinyxml.cpp" "tinyxmlerror.cpp"
-                             "tinyxmlparser.cpp" "tinystr.cpp"
-                             "-o" "libtinyxml.so"))))
+             (invoke "g++" "-Wall" "-O2" "-shared" "-fpic"
+                     "tinyxml.cpp" "tinyxmlerror.cpp"
+                     "tinyxmlparser.cpp" "tinystr.cpp"
+                     "-o" "libtinyxml.so")))
          (replace 'check
-           (lambda _ (zero? (system "./xmltest"))))
+           (lambda _ (invoke "./xmltest")))
          (replace 'install
            (lambda* (#:key outputs #:allow-other-keys)
              (let* ((out (assoc-ref outputs "out"))

Reply via email to