mirror of
https://github.com/dockur/windows.git
synced 2026-07-07 05:07:26 +01:00
fix: Add missing edQuery variable (#1814)
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user