Skip to content

Commit e77025a

Browse files
scoopexMarc Schöchlin
andauthored
fix execution script (#18)
Signed-off-by: Marc Schöchlin <[email protected]> Co-authored-by: Marc Schöchlin <[email protected]>
1 parent 811db4b commit e77025a

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)