diff --git a/functions/steam_sync.sh b/functions/steam_sync.sh index f9f9f004..0487150b 100644 --- a/functions/steam_sync.sh +++ b/functions/steam_sync.sh @@ -43,7 +43,7 @@ steam_sync() { /true<\/favorite>/ { if (match($0, /([^<]+)<\/path>/, arr)) print arr[1] - }' "$gamelist" + }' "$gamelist") while read -r game; do if [[ -n "$game" ]]; then # Avoid empty lines created by xmlstarlet local game="${game#./}" # Remove leading ./