From 8c54245e70f880bae15ec5471516a7e52f21f46a Mon Sep 17 00:00:00 2001 From: Chocobo1 Date: Sun, 24 Nov 2024 06:24:37 +0800 Subject: [PATCH] Clear variable properly --- entrypoint.sh | 1 + manual_build/entrypoint.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/entrypoint.sh b/entrypoint.sh index 7718ea0..5274927 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -34,6 +34,7 @@ Session\TempPath=$downloadsPath/temp EOF fi +confirmLegalNotice="" _legalNotice=$(echo "$QBT_LEGAL_NOTICE" | tr -d '[:space:]' | tr '[:upper:]' '[:lower:]') if [ "$_legalNotice" = "confirm" ]; then confirmLegalNotice="--confirm-legal-notice" diff --git a/manual_build/entrypoint.sh b/manual_build/entrypoint.sh index 7718ea0..5274927 100755 --- a/manual_build/entrypoint.sh +++ b/manual_build/entrypoint.sh @@ -34,6 +34,7 @@ Session\TempPath=$downloadsPath/temp EOF fi +confirmLegalNotice="" _legalNotice=$(echo "$QBT_LEGAL_NOTICE" | tr -d '[:space:]' | tr '[:upper:]' '[:lower:]') if [ "$_legalNotice" = "confirm" ]; then confirmLegalNotice="--confirm-legal-notice"