fix: Add missing edQuery variable (#1814)

This commit is contained in:
Kroese
2026-07-07 01:49:21 +02:00
committed by GitHub
parent 8ad66b62a8
commit 029f59db2e
+1
View File
@@ -559,6 +559,7 @@ getESD() {
error "Failed to find $xFile in $file!" && return 1 error "Failed to find $xFile in $file!" && return 1
fi fi
local edQuery='//File[Architecture="'${PLATFORM,,}'"]'"${edition}"''
result=$(xmllint --nonet --xpath "${edQuery}" "$dir/$xFile" 2>/dev/null || true) result=$(xmllint --nonet --xpath "${edQuery}" "$dir/$xFile" 2>/dev/null || true)
if [ -z "$result" ]; then if [ -z "$result" ]; then