From 9947ba6e437468c9c2013a07cfc0f0a264778009 Mon Sep 17 00:00:00 2001 From: Jason Ertel Date: Thu, 31 Mar 2022 16:47:56 -0400 Subject: [PATCH] Support CentOS paths --- salt/sensoroni/files/analyzers/build.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/salt/sensoroni/files/analyzers/build.sh b/salt/sensoroni/files/analyzers/build.sh index 5b78af785..99840918b 100755 --- a/salt/sensoroni/files/analyzers/build.sh +++ b/salt/sensoroni/files/analyzers/build.sh @@ -3,6 +3,8 @@ HOME_DIR=$(dirname "$0") TARGET_DIR=${1:-.} +PATH=$PATH:/usr/local/bin + if ! which pytest &> /dev/null || ! which flake8 &> /dev/null ; then echo "Missing dependencies. Consider running the following command:" echo " python -m pip install flake8 pytest pytest-cov"