From 96d783475ee775de22851a108c47439d6c40a348 Mon Sep 17 00:00:00 2001 From: Patrick McGuire <60325264+mcguirepr89@users.noreply.github.com> Date: Sat, 22 Jan 2022 17:49:23 -0500 Subject: [PATCH] Update birdnet_analysis.sh --- scripts/birdnet_analysis.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/birdnet_analysis.sh b/scripts/birdnet_analysis.sh index 33dae77..6ef2e24 100755 --- a/scripts/birdnet_analysis.sh +++ b/scripts/birdnet_analysis.sh @@ -9,8 +9,8 @@ my_dir=$(realpath $(dirname $0)) if [ -z ${THIS_RUN} ];then THIS_RUN=/home/pi/BirdNET-Pi/thisrun.txt;fi [ -f ${THIS_RUN} ] || touch ${THIS_RUN} && chmod g+w ${THIS_RUN} if [ -z ${LAST_RUN} ];then LAST_RUN=/home/pi/BirdNET-Pi/lastrun.txt;fi -[ -z ${LATITUDE} ] && echo "LATITUDE not set, exiting 1"; exit 1 -[ -z ${LONGITUDE} ] && echo "LONGITUDE not set, exiting 1"; exit 1 +[ -z ${LATITUDE} ] && echo "LATITUDE not set, exiting 1" && exit 1 +[ -z ${LONGITUDE} ] && echo "LONGITUDE not set, exiting 1" && exit 1 make_thisrun() { sleep .4 awk '!/#/ && !/^$/ {print}' /etc/birdnet/birdnet.conf \