Fix compression logging handling spaces in files

This commit is contained in:
icenine451 2024-06-27 08:53:12 -04:00
parent d08d027db6
commit 2472254b09

View file

@ -38,10 +38,10 @@ compress_game() {
log i "Removing file $file_path/$line" log i "Removing file $file_path/$line"
rm -f "$file_path/$line" rm -f "$file_path/$line"
done < <(printf '%s\n' "$cue_bin_files") done < <(printf '%s\n' "$cue_bin_files")
log i "Removing file $(realpath $file)" log i "Removing file $(realpath "$file")"
rm -f $(realpath "$file") rm -f $(realpath "$file")
else else
log i "Removing file $(realpath $file)" log i "Removing file $(realpath "$file")"
rm -f "$(realpath "$file")" rm -f "$(realpath "$file")"
fi fi
else else