From 320182effc9c3221fbd70a8ae6e9acbd5bba7b2e Mon Sep 17 00:00:00 2001 From: Joao Jacome Date: Tue, 7 Apr 2020 13:25:18 +0100 Subject: [PATCH] Fixed path --- start.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/start.sh b/start.sh index 92cbdb7..598c02b 100755 --- a/start.sh +++ b/start.sh @@ -1,5 +1,8 @@ #!/bin/bash ( +SCRIPTPATH="$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )" +cd $SCRIPTPATH + KEYS=$(/usr/bin/env python ssh.py) IFS=';' read -d '' -ra SPLITKEYS < <(printf '%s;\0' "$KEYS")