summaryrefslogtreecommitdiffstats
path: root/systems/rhel
diff options
context:
space:
mode:
authorChristian Trautman <ctrautma@redhat.com>2017-12-14 14:45:44 -0500
committerChristian Trautman <ctrautma@redhat.com>2017-12-14 14:45:44 -0500
commit27bd5cb5fa16cb51260672201cf56351505f0a8f (patch)
tree905dba8e87ffa01efe464f5968f94766db87dd5d /systems/rhel
parenta392e7361cb698d9b804a79978d9c7a3a83e58fc (diff)
rhel_path_fix: Fix pathing issue introduce by other commit
Fixes pathing issue with virtual environment creation caused by commit 21b23522861e364daf150cd997c5d60851847ef2 Change-Id: Ia2c0c44da898e40e122571e477301343d047f974 Signed-off-by: Christian Trautman <ctrautma@redhat.com>
Diffstat (limited to 'systems/rhel')
-rwxr-xr-xsystems/rhel/7.2/prepare_python_env.sh2
-rwxr-xr-xsystems/rhel/7.3/prepare_python_env.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/systems/rhel/7.2/prepare_python_env.sh b/systems/rhel/7.2/prepare_python_env.sh
index 0178954e..fb5882f1 100755
--- a/systems/rhel/7.2/prepare_python_env.sh
+++ b/systems/rhel/7.2/prepare_python_env.sh
@@ -22,7 +22,7 @@ if [ -d "$VSPERFENV_DIR" ] ; then
fi
scl enable python33 "
-virtualenv "$VSPERFENV_DIR" --python /usr/bin/python3
+virtualenv "$VSPERFENV_DIR" --python /opt/rh/python33/root/usr/bin/python3
source "$VSPERFENV_DIR"/bin/activate
pip install -r ../requirements.txt
pip install pylint
diff --git a/systems/rhel/7.3/prepare_python_env.sh b/systems/rhel/7.3/prepare_python_env.sh
index a9021451..b573bb9f 100755
--- a/systems/rhel/7.3/prepare_python_env.sh
+++ b/systems/rhel/7.3/prepare_python_env.sh
@@ -22,7 +22,7 @@ if [ -d "$VSPERFENV_DIR" ] ; then
fi
scl enable python33 "
-virtualenv "$VSPERFENV_DIR" --python /usr/bin/python3
+virtualenv "$VSPERFENV_DIR" --python /opt/rh/python33/root/usr/bin/python3
source "$VSPERFENV_DIR"/bin/activate
pip install -r ../requirements.txt
pip install pylint