Fix PYTHONPATH in activate_environment
[csit.git] / resources / libraries / bash / function / common.sh
index 2ae1354..7da8020 100644 (file)
@@ -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."
 }