Change the field separator

This commit is contained in:
Jeremy Gardais 2019-10-11 17:39:36 +02:00
parent 48925c4237
commit 24b61b09d0
1 changed files with 2 additions and 0 deletions

View File

@ -134,6 +134,8 @@ done
# }}} # }}}
# Manage XDG config save game {{{ # Manage XDG config save game {{{
## Set "%" as field separator
IFS="%"
for game_name in ${xdg_config_games}; do for game_name in ${xdg_config_games}; do
local_game_path="${HOME}/${xdg_config}/${game_name}" local_game_path="${HOME}/${xdg_config}/${game_name}"
local_game_path_type="$(ls -ld "${local_game_path}" | sed 's/\(^.\).*/\1/')" local_game_path_type="$(ls -ld "${local_game_path}" | sed 's/\(^.\).*/\1/')"