From ffbf10eb106e2b426d0186c8a0091ec128530aa8 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Wed, 20 Aug 2025 04:21:19 +0200 Subject: [PATCH] Update merge_open_prs.sh --- birdnet-pi/rootfs/helpers/merge_open_prs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/birdnet-pi/rootfs/helpers/merge_open_prs.sh b/birdnet-pi/rootfs/helpers/merge_open_prs.sh index b6e81cc20..d1249d01b 100755 --- a/birdnet-pi/rootfs/helpers/merge_open_prs.sh +++ b/birdnet-pi/rootfs/helpers/merge_open_prs.sh @@ -8,7 +8,7 @@ if [[ "$update" = "yes" ]]; then echo "Update with $branch of $repo" temp_dir="$(mktemp -d)" - target_dir="/home/${USER}/BirdNET-Pi" + target_dir="/home/${USER:-pi}/BirdNET-Pi" # Parse owner/repo from the URL _url_no_git="${repo%.git}"