From e850715a42fef7b62bab7f8a2746acb028464d5c Mon Sep 17 00:00:00 2001 From: icenine451 Date: Wed, 26 Jun 2024 12:50:35 -0400 Subject: [PATCH] Localize some compression math variables --- tools/configurator.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/configurator.sh b/tools/configurator.sh index 5435f44c..2cdb24cd 100644 --- a/tools/configurator.sh +++ b/tools/configurator.sh @@ -879,8 +879,8 @@ configurator_compress_multiple_games_dialog() { fi else # The user chose to auto-compress everything games_to_compress=("${all_compressable_games[@]}") - total_games_to_compress=${#all_compressable_games[@]} - games_left_to_compress=$total_games_to_compress + local total_games_to_compress=${#all_compressable_games[@]} + local games_left_to_compress=$total_games_to_compress fi else configurator_generic_dialog "RetroDECK Configurator - RetroDECK: Compression Tool" "No compressable files were found."