From e3bc9a5a46b2034a9155a642834e65880b014a4f Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Fri, 3 May 2024 07:24:13 +0200 Subject: [PATCH] Update changeidenfication.sh --- birdnet-pi/rootfs/helpers/changeidenfication.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/birdnet-pi/rootfs/helpers/changeidenfication.sh b/birdnet-pi/rootfs/helpers/changeidenfication.sh index 996c776aa..9bf62e56d 100755 --- a/birdnet-pi/rootfs/helpers/changeidenfication.sh +++ b/birdnet-pi/rootfs/helpers/changeidenfication.sh @@ -7,6 +7,7 @@ if [ $$ -lt 2 ]; then fi set +u #avoid error with apprise variables +# shellcheck disable=SC1091 source /etc/birdnet/birdnet.conf #OLDNAME="Mésange_charbonnière-78-2024-05-02-birdnet-RTSP_1-18:14:08.mp3" @@ -42,7 +43,6 @@ NEWNAME_comname2="${NEWNAME_comname// /_}" OLDNAME_comname2="${OLDNAME_comname// /_}" # Replace OLDNAME_comname2 with NEWNAME_comname2 in OLDNAME -echo $OLDNAME NEWNAME_filename="${OLDNAME//$OLDNAME_comname2/$NEWNAME_comname2}" # Check if the file exists