mirror of
https://github.com/certbot/certbot.git
synced 2026-07-28 08:45:22 +02:00
Fail fast during tests if python executable is not in the PATH (#6306)
This commit is contained in:
committed by
Brad Warren
parent
d8057f0e17
commit
b1003b7250
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user