Update define.sh

This commit is contained in:
Kroese 2025-04-22 17:43:09 +02:00 committed by GitHub
parent 43d7b29346
commit dc01403748
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1836,7 +1836,7 @@ detectLegacy() {
find=$(find "$dir" -maxdepth 1 -iname WIN51 -print -quit) find=$(find "$dir" -maxdepth 1 -iname WIN51 -print -quit)
if [ -n "$find" ]; then if [ -n "$find" ]; then
find=$(find "$dir" -maxdepth 1 -type f -iname WIN51AP -print -quit) find=$(find "$dir" -maxdepth 1 -type f -iname WIN51AP -print -quit)
[ -n "$find" ] && DETECTED="winxpx64" && return 0 [ -n "$find" ] && DETECTED="winxpx64" && return 0