From: Oleg Pykhalov <go.wigust@gmail.com>
To: 30406@debbugs.gnu.org
Subject: [bug#30406] [PATCH 2/2] gnu: tome4: Replace system* with invoke.
Date: Sat, 10 Feb 2018 00:23:31 +0300 [thread overview]
Message-ID: <20180209212331.6538-2-go.wigust@gmail.com> (raw)
In-Reply-To: <20180209212331.6538-1-go.wigust@gmail.com>
* 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
next prev parent reply other threads:[~2018-02-09 21:24 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-09 21:21 [bug#30406] [PATCH 0/2] gnu: tome4: Add fix to getself.c Oleg Pykhalov
2018-02-09 21:23 ` [bug#30406] [PATCH 1/2] " Oleg Pykhalov
2018-02-09 21:23 ` Oleg Pykhalov [this message]
2018-04-23 12:59 ` [bug#30406] [PATCH 2/2] gnu: tome4: Replace system* with invoke Ludovic Courtès
2018-04-23 12:59 ` [bug#30406] [PATCH 1/2] gnu: tome4: Add fix to getself.c Ludovic Courtès
2018-06-22 19:34 ` [bug#30406] " Gábor Boskovits
2018-06-23 2:06 ` Oleg Pykhalov
2021-09-13 0:07 ` bug#30406: " Sarah Morgensen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180209212331.6538-2-go.wigust@gmail.com \
--to=go.wigust@gmail.com \
--cc=30406@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.