mirror of
https://github.com/certbot/certbot.git
synced 2026-06-04 14:26:10 -04:00
Fail fast during tests if python executable is not in the PATH (#6306)
This commit is contained in:
parent
d8057f0e17
commit
b1003b7250
1 changed files with 3 additions and 0 deletions
|
|
@ -10,6 +10,9 @@
|
|||
|
||||
set -eux
|
||||
|
||||
# Check that python executable is available in the PATH. Fail immediatly if not.
|
||||
command -v python > /dev/null || (echo "Error, python executable is not in the PATH" && exit 1)
|
||||
|
||||
. ./tests/integration/_common.sh
|
||||
export PATH="$PATH:/usr/sbin" # /usr/sbin/nginx
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue