|
From: | Chris Marusich |
Subject: | [bug#30572] [PATCH 2/7] tests: Add tests for "guix pack". |
Date: | Wed, 21 Mar 2018 05:00:53 +0100 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
address@hidden (Ludovic Courtès) writes: > 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'. Sure thing. I'll include this change when pushing to origin. -- Chris
signature.asc
Description: PGP signature
[Prev in Thread] | Current Thread | [Next in Thread] |