From c3337d919af5a08186b6349bbe339904cd682d89 Mon Sep 17 00:00:00 2001 From: jcorporation Date: Tue, 31 Oct 2023 00:21:08 +0100 Subject: [PATCH] Fix: use correct var --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 294776dc..e748996f 100755 --- a/build.sh +++ b/build.sh @@ -489,7 +489,7 @@ modify_radio_from_json() { NEW_CODEC=$(jq -r ".codec" < "$INPUT" | head -1 | tr -d '\n') local NEW_BITRATE NEW_BITRATE=$(jq -r ".bitrate" < "$INPUT" | head -1 | tr -d '\n') - if [ -n "$BITRATE" ] && ! is_uint "$BITRATE" + if [ -n "$NEW_BITRATE" ] && ! is_uint "$NEW_BITRATE" then echo "Bitrate must be an unsigned value" exit 1