From 06d10a58f0c8468d2a1e2e6ff442b89589646b27 Mon Sep 17 00:00:00 2001 From: Martin Selbmann Date: Thu, 24 Sep 2020 15:39:16 +0200 Subject: [PATCH] fix some path errors --- RandomVideo.sh | 2 +- buzzer.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/RandomVideo.sh b/RandomVideo.sh index 8262f18..a6ace62 100755 --- a/RandomVideo.sh +++ b/RandomVideo.sh @@ -8,7 +8,7 @@ if [ -z "$cmdjq" ]; then exit 1 fi -configfile="~/RandomVideo/config.json" +configfile="config.json" folder="$($cmdjq -r ".RandomVideo | .folder" < $configfile)" player="$($cmdjq -r ".player" < $configfile)" diff --git a/buzzer.sh b/buzzer.sh index 6409aa5..9ff04f5 100755 --- a/buzzer.sh +++ b/buzzer.sh @@ -8,7 +8,7 @@ if [ -z "$cmdjq" ]; then exit 1 fi -configfile="~/RandomVideo/config.json" +configfile="config.json" buzzergpio="$($cmdjq -r ".buzzer | .buzzergpio" < $configfile)" strobegpio="$($cmdjq -r ".buzzer | .strobegpio" < $configfile)"