From 2472254b09588f80fd880e8fb9ecade5ce9b8ad5 Mon Sep 17 00:00:00 2001 From: icenine451 Date: Thu, 27 Jun 2024 08:53:12 -0400 Subject: [PATCH] Fix compression logging handling spaces in files --- functions/compression.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions/compression.sh b/functions/compression.sh index fed37ab8..4b0bcdd8 100644 --- a/functions/compression.sh +++ b/functions/compression.sh @@ -38,10 +38,10 @@ compress_game() { log i "Removing file $file_path/$line" rm -f "$file_path/$line" done < <(printf '%s\n' "$cue_bin_files") - log i "Removing file $(realpath $file)" + log i "Removing file $(realpath "$file")" rm -f $(realpath "$file") else - log i "Removing file $(realpath $file)" + log i "Removing file $(realpath "$file")" rm -f "$(realpath "$file")" fi else