Fix missing ) in steam_sync.sh

This commit is contained in:
icenine451 2025-04-09 13:58:42 -04:00
parent eabd37fa1b
commit cb86324fe6

View file

@ -43,7 +43,7 @@ steam_sync() {
/<favorite>true<\/favorite>/ {
if (match($0, /<path>([^<]+)<\/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 ./