[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#30406] [PATCH 2/2] gnu: tome4: Replace system* with invoke.
From: |
Oleg Pykhalov |
Subject: |
[bug#30406] [PATCH 2/2] gnu: tome4: Replace system* with invoke. |
Date: |
Sat, 10 Feb 2018 00:23:31 +0300 |
* gnu/packages/games.scm (tome4)[arguments]: Replace 'system*' with 'invoke'.
---
gnu/packages/games.scm | 13 ++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index a5804a87b..e327dbc2f 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -5230,8 +5230,7 @@ Crowther & Woods, its original authors, in 1995. It has
been known as
#:phases (modify-phases %standard-phases
(replace 'configure
(lambda _
- (zero? (system* "premake4" "gmake"))
- #t))
+ (invoke "premake4" "gmake")))
(add-after 'set-paths 'set-sdl-paths
(lambda* (#:key inputs #:allow-other-keys)
(setenv "CPATH"
@@ -5257,11 +5256,11 @@ Crowther & Woods, its original authors, in 1995. It
has been known as
(wrapper (string-append bin "/" ,name)))
;; icon
(mkdir-p pixmaps)
- (system* unzip "-j"
- (string-append
- "game/engines/te4-" ,version ".teae")
- (string-append
- "data/gfx/" icon) "-d" pixmaps)
+ (invoke unzip "-j"
+ (string-append "game/engines/te4-"
+ ,version ".teae")
+ (string-append "data/gfx/" icon)
+ "-d" pixmaps)
;; game executable
(install-file "t-engine" data)
(mkdir-p bin)
--
2.15.1