Update merge_open_prs.sh

This commit is contained in:
Alexandre
2025-08-20 04:21:19 +02:00
committed by GitHub
parent 3f46b7a66d
commit ffbf10eb10

View File

@@ -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}"