From 01cc0c6e18623d471f36d3511e140ba322efd8d5 Mon Sep 17 00:00:00 2001 From: Patrick McGuire <60325264+mcguirepr89@users.noreply.github.com> Date: Fri, 15 Apr 2022 09:47:54 -0400 Subject: [PATCH] Update update_birdnet.sh --- scripts/update_birdnet.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/update_birdnet.sh b/scripts/update_birdnet.sh index 8046c3a..87301f9 100755 --- a/scripts/update_birdnet.sh +++ b/scripts/update_birdnet.sh @@ -2,7 +2,7 @@ # Update BirdNET-Pi source /etc/birdnet/birdnet.conf trap 'exit 1' SIGINT SIGHUP -my_dir=$(realpath $(dirname $0)) +my_dir=$HOME/BirdNET-Pi/scripts sudo -u${USER} git -C $my_dir stash sudo -u${USER} git -C $my_dir pull -f