Skip to content

Commit 8e4f542

Browse files
authored
Merge branch 'main' into ssh
2 parents 5235ec4 + e77025a commit 8e4f542

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

openstack_workload_generator

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,6 @@ fi
3434
if [ "$1" = "deps" ];then
3535
exit 0
3636
fi
37-
cd "$rundir" || exit 1
38-
source venv/bin/activate
39-
exec python3 $rundir/src/openstack_workload_generator/__main__.py "$@"
37+
38+
export PYTHONPATH="$rundir/src/"
39+
exec "${rundir}/venv/bin/python" -m openstack_workload_generator "$@"

0 commit comments

Comments
 (0)