From a94451639a7232a11557d50aecd4a9783f58316a Mon Sep 17 00:00:00 2001 From: Benedikt Ziemons Date: Wed, 18 Nov 2020 23:41:41 +0100 Subject: [PATCH] Allow podlaunching for testing --- podlaunch | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/podlaunch b/podlaunch index abac1bc..ff3b578 100755 --- a/podlaunch +++ b/podlaunch @@ -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