aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/bash/function/common.sh
diff options
context:
space:
mode:
authorPeter Mikus <pmikus@cisco.com>2019-12-13 12:49:21 +0000
committerJan Gelety <jgelety@cisco.com>2019-12-16 11:12:45 +0000
commit3111f250640b2f0364bd62104416ada41098b280 (patch)
tree16c25a3875c720eab90e20832fa154b2a72d9d66 /resources/libraries/bash/function/common.sh
parentdee46d5cedf38248eaf6a54dd273e93a592007b0 (diff)
FIX PIP requirement packages
+ CSIT will only use packages installed from master PIP requirement.txt file + All CSIT subsequent code must use single function and PIP list for virtualenv - Report/PAL/doc/trending will follow in next patch Change-Id: Ia9150fb05a144182a5a163178d553370ede55cdd Signed-off-by: Peter Mikus <pmikus@cisco.com>
Diffstat (limited to 'resources/libraries/bash/function/common.sh')
-rw-r--r--resources/libraries/bash/function/common.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/libraries/bash/function/common.sh b/resources/libraries/bash/function/common.sh
index f3e86164e1..eb7cee970e 100644
--- a/resources/libraries/bash/function/common.sh
+++ b/resources/libraries/bash/function/common.sh
@@ -119,7 +119,7 @@ function activate_virtualenv () {
pip3 install --upgrade virtualenv || {
die "Virtualenv package install failed."
}
- virtualenv -p $(which python3) "${env_dir}" || {
+ virtualenv --python=$(which python3) "${env_dir}" || {
die "Virtualenv creation for $(which python3) failed."
}
set +u