[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#31522: [PATCH] guix-install.sh: Fix chk_require exiting without warn
From: |
Ludovic Courtès |
Subject: |
bug#31522: [PATCH] guix-install.sh: Fix chk_require exiting without warning. |
Date: |
Sat, 19 May 2018 22:47:18 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
Maxim Cournoyer <address@hidden> skribis:
> From 726d05a99529823d94c3fff1fa8619953e384b44 Mon Sep 17 00:00:00 2001
> From: Maxim Cournoyer <address@hidden>
> Date: Fri, 18 May 2018 10:51:29 -0400
> Subject: [PATCH] guix-install.sh: Fix chk_require exiting without warning.
>
> * etc/guix-install.sh (chk_require): Because of the set -e option, Bash was
> exiting when the command `command -v "$c" &>/dev/null' was running on its
> own. Instead, we now test the command and accumulate warning messages in a
> single statement by chaining the command with a logical OR.
Applied, thanks! :-)
Ludo'.