From: huang ying <huang.ying.caritas@gmail.com>
To: Danny Milosavljevic <dannym@scratchpost.org>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH -v2 2/2] guix: profiles: create fonts.dir/scale for all fonts directories
Date: Wed, 8 Mar 2017 15:44:47 +0800 [thread overview]
Message-ID: <CAC=cRTPtPu0Te-Gzeb7F1rNOuyd1+t7N5LFSQ4t_nBdAqAY9Xg@mail.gmail.com> (raw)
In-Reply-To: <20170307212452.2ddda246@scratchpost.org>
On Wed, Mar 8, 2017 at 4:24 AM, Danny Milosavljevic
<dannym@scratchpost.org> wrote:
> Hi,
>
>> + (with-directory-excursion dir
>> + (and (file-exists? fonts-scale-file)
>> + (delete-file fonts-scale-file))
>> + (and (file-exists? fonts-dir-file)
>> + (delete-file fonts-dir-file))
>> + (system* mkfontscale)
>> + (system* mkfontdir)
>
> Please do not throw away the status code here (result of system*). You can check for okayness by (zero? (system* ...)).
Then what is the intended behavior? abort the build process with
message and non-zero exit code? Usually we will raise a exception or
just display some message and exit?
Best Regards,
Huang, Ying
next prev parent reply other threads:[~2017-03-08 7:44 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-07 11:07 [PATCH -v2 1/2] build: union: Add create-all-directories? parameter to union-build Huang Ying
2017-03-07 11:07 ` [PATCH -v2 2/2] guix: profiles: create fonts.dir/scale for all fonts directories Huang Ying
2017-03-07 20:24 ` Danny Milosavljevic
2017-03-08 7:44 ` huang ying [this message]
2017-03-08 17:18 ` Ludovic Courtès
2017-03-09 11:42 ` Huang, Ying
2017-03-08 17:24 ` Ludovic Courtès
2017-03-09 11:41 ` Huang, Ying
2017-03-07 20:35 ` [PATCH -v2 1/2] build: union: Add create-all-directories? parameter to union-build Danny Milosavljevic
2017-03-07 20:54 ` Danny Milosavljevic
2017-03-08 7:43 ` huang ying
2017-03-08 17:16 ` Ludovic Courtès
2017-03-09 11:43 ` Huang, Ying
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAC=cRTPtPu0Te-Gzeb7F1rNOuyd1+t7N5LFSQ4t_nBdAqAY9Xg@mail.gmail.com' \
--to=huang.ying.caritas@gmail.com \
--cc=dannym@scratchpost.org \
--cc=guix-devel@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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).