diff options
author | Vratko Polak <vrpolak@cisco.com> | 2019-03-07 10:43:40 +0100 |
---|---|---|
committer | Vratko Polak <vrpolak@cisco.com> | 2019-03-07 10:43:40 +0100 |
commit | 0c45de2af90637065a799f95e3353e57fdb49065 (patch) | |
tree | 3b2169b85927b24c3170d8f7d1e8b0dc83aad7ac /resources/libraries/bash/function | |
parent | 86af0b9a49b5513e328359241a11a1ca44075bc5 (diff) |
Fix PYTHONPATH in activate_environment
This affects jobs which install the virtual environment
to a directory other than ${CSIT_DIR}.
Change-Id: I1546043112f7504feb0452883b2ff57530dd2c9d
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
Diffstat (limited to 'resources/libraries/bash/function')
-rw-r--r-- | resources/libraries/bash/function/common.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/libraries/bash/function/common.sh b/resources/libraries/bash/function/common.sh index 2ae135425b..7da80201c0 100644 --- a/resources/libraries/bash/function/common.sh +++ b/resources/libraries/bash/function/common.sh @@ -127,7 +127,7 @@ function activate_virtualenv () { die "Requirements installation failed." } # Most CSIT Python scripts assume PYTHONPATH is set and exported. - export PYTHONPATH="${root_path}" || die "Export failed." + export PYTHONPATH="${CSIT_DIR}" || die "Export failed." } |