Skip to content

Commit

Permalink
Clear variable properly
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocobo1 committed Nov 23, 2024
1 parent 3eae096 commit 8c54245
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions manual_build/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 8c54245

Please sign in to comment.