fix: Remove subshell

This commit is contained in:
Kroese 2025-09-22 08:39:02 +02:00 committed by GitHub
parent 4a5e455389
commit 0ff94a8378
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -406,7 +406,7 @@ getCatalog() {
if [[ "${id,,}" == "win11"* && "${PLATFORM,,}" != "x64" && "${ARCH,,}" == "arm64" ]]; then if [[ "${id,,}" == "win11"* && "${PLATFORM,,}" != "x64" && "${ARCH,,}" == "arm64" ]]; then
# ARMv8.0 cannot run Windows 11 builds higher than 22631 # ARMv8.0 cannot run Windows 11 builds higher than 22631
if ! grep -qw 'Features.*atomics' /proc/cpuinfo; then if ! grep -qw 'Features.*atomics' /proc/cpuinfo; then
"$(getBuild "$1" "$2" "22631.2861")" && return 0 echo "$(getBuild "$1" "$2" "22631.2861")" && return 0
fi fi
fi fi