From 5dca9959a5e325ce0673b5f4e0aa2b2190757cc0 Mon Sep 17 00:00:00 2001 From: Patrick McGuire <60325264+mcguirepr89@users.noreply.github.com> Date: Sat, 30 Oct 2021 11:27:34 -0400 Subject: [PATCH] Update Birders_Guide_Installer.sh --- Birders_Guide_Installer.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Birders_Guide_Installer.sh b/Birders_Guide_Installer.sh index eec2292..dfa2f1e 100755 --- a/Birders_Guide_Installer.sh +++ b/Birders_Guide_Installer.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash set -e my_dir=${HOME}/BirdNET-Pi -branch=testing +branch=main trap '${my_dir}/scripts/dump_logs.sh && exit' EXIT SIGHUP SIGINT @@ -108,7 +108,7 @@ stage_2() { if [ ! -d ${my_dir} ];then cd ~ || exit 1 echo "Cloning the BirdNET-Pi repository $branch branch into your home directory" - git clone --depth 1 -b ${branch} https://github.com/mcguirepr89/BirdNET-Pi.git ~/BirdNET-Pi + git clone -b ${branch} https://github.com/mcguirepr89/BirdNET-Pi.git ~/BirdNET-Pi else cd ${my_dir} && git checkout ${branch} fi