Fix farm test for RHEL6

This commit is contained in:
Adrien Ferrand 2019-07-31 00:01:17 +02:00
parent bbade209aa
commit 7b456cdf75

View file

@ -116,6 +116,8 @@ if ! diff letsencrypt-auto letsencrypt-auto-source/letsencrypt-auto ; then
fi
if [ "$RUN_RHEL6_TESTS" = 1 ]; then
# Add the SCL python release to PATH in order to resolve python3 command
PATH="/opt/rh/rh-python36/root/usr/bin:$PATH"
if ! command -v python3; then
echo "Python3 wasn't properly installed"
exit 1