|
From: | Ludovic Courtès |
Subject: | [bug#30572] [PATCH 2/7] tests: Add tests for "guix pack". |
Date: | Sat, 17 Mar 2018 19:23:29 +0100 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
Danny Milosavljevic <address@hidden> skribis: >> +is_available () { >> + # Use the "type" shell builtin to see if the program is on PATH. >> + type "$1" > > Maybe >/dev/null ? Then it would only complain if it needed to. > >> +else >> + echo "skipping pack verification because chroot or unshare is >> unavailable" > > echo "warning: Skipping pack verification because chroot or unshare is > unavailable" >&2 > > Otherwise LGTM! +1! Ludo'.
[Prev in Thread] | Current Thread | [Next in Thread] |