mirror of
https://github.com/certbot/certbot.git
synced 2026-07-31 18:34:41 +02:00
Replace "which" with "command -v"
Since the latter is at least semi-POSIX compliant: http://pubs.opengroup.org/onlinepubs/009696899/utilities/command.html Avoids the need for #1486
This commit is contained in:
@@ -44,7 +44,7 @@ apt-get install -y --no-install-recommends \
|
||||
libffi-dev \
|
||||
ca-certificates \
|
||||
|
||||
if ! which virtualenv > /dev/null ; then
|
||||
if ! command -v virtualenv > /dev/null ; then
|
||||
echo Failed to install a working \"virtualenv\" command, exiting
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user