Update install_birdnet.sh

This commit is contained in:
Patrick McGuire
2022-02-18 15:33:25 -05:00
committed by GitHub
parent 806f1b5f45
commit 044bfef544
+2 -1
View File
@@ -1,6 +1,7 @@
#!/usr/bin/env bash
# Install BirdNET script
set -x # debugging
set -x
exec > >(tee -i installation-$(date +%F).txt) 2>&1
set -e # exit installation if anything fails
my_dir=$(realpath $(dirname $0))
trap '${my_dir}/dump_logs.sh && echo -e "\n\nExiting the installation. Goodbye!" && exit 1' SIGINT