Allow podlaunching for testing

This commit is contained in:
Benedikt Ziemons 2020-11-18 23:41:41 +01:00
parent 2834f416c0
commit a94451639a
No known key found for this signature in database
GPG Key ID: 0F54A7ED232D3319
1 changed files with 5 additions and 1 deletions

View File

@ -1,2 +1,6 @@
#!/bin/sh
exec env python3 $(dirname $0)/../lib/podlaunch/main.py $@
if [ -f "main.py" ]; then
exec env python3 main.py $@
else
exec env python3 $(dirname $0)/../lib/podlaunch/main.py $@
fi