From 24b61b09d08f89db5742c1fef5ad82782aa2bdff Mon Sep 17 00:00:00 2001 From: Gardouille Date: Fri, 11 Oct 2019 17:39:36 +0200 Subject: [PATCH] Change the field separator --- games/save.game.xdg | 2 ++ 1 file changed, 2 insertions(+) diff --git a/games/save.game.xdg b/games/save.game.xdg index 31c04a4..86f528a 100755 --- a/games/save.game.xdg +++ b/games/save.game.xdg @@ -134,6 +134,8 @@ done # }}} # Manage XDG config save game {{{ +## Set "%" as field separator +IFS="%" for game_name in ${xdg_config_games}; do local_game_path="${HOME}/${xdg_config}/${game_name}" local_game_path_type="$(ls -ld "${local_game_path}" | sed 's/\(^.\).*/\1/')"