rhel_path_fix: Fix pathing issue introduce by other commit 09/49009/1
authorChristian Trautman <ctrautma@redhat.com>
Thu, 14 Dec 2017 19:45:44 +0000 (14:45 -0500)
committerChristian Trautman <ctrautma@redhat.com>
Thu, 14 Dec 2017 19:45:44 +0000 (14:45 -0500)
Fixes pathing issue with virtual environment creation caused by
commit 21b23522861e364daf150cd997c5d60851847ef2

Change-Id: Ia2c0c44da898e40e122571e477301343d047f974
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
systems/rhel/7.2/prepare_python_env.sh
systems/rhel/7.3/prepare_python_env.sh

index 0178954..fb5882f 100755 (executable)
@@ -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
index a902145..b573bb9 100755 (executable)
@@ -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