Fixed path

This commit is contained in:
Joao Jacome 2020-04-07 13:25:18 +01:00
parent e1d4980819
commit 320182effc

View file

@ -1,5 +1,8 @@
#!/bin/bash #!/bin/bash
( (
SCRIPTPATH="$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
cd $SCRIPTPATH
KEYS=$(/usr/bin/env python ssh.py) KEYS=$(/usr/bin/env python ssh.py)
IFS=';' IFS=';'
read -d '' -ra SPLITKEYS < <(printf '%s;\0' "$KEYS") read -d '' -ra SPLITKEYS < <(printf '%s;\0' "$KEYS")