diff --git a/src/mido.sh b/src/mido.sh index 9a2180a..9c75664 100644 --- a/src/mido.sh +++ b/src/mido.sh @@ -559,6 +559,7 @@ getESD() { error "Failed to find $xFile in $file!" && return 1 fi + local edQuery='//File[Architecture="'${PLATFORM,,}'"]'"${edition}"'' result=$(xmllint --nonet --xpath "${edQuery}" "$dir/$xFile" 2>/dev/null || true) if [ -z "$result" ]; then