configure: haiku.hpkg now has a canonical name

Should fix the script on newer Haiku versions (and break it on older
ones). Ticket #10087.
This commit is contained in:
Ingo Weinhold 2013-10-12 20:53:52 +02:00
parent 8fa75a8cca
commit dda53eae4b

2
configure vendored
View File

@ -698,7 +698,7 @@ else
fi
# determine primary architecture
targetArch=`package list -i /system/packages/haiku.hpkg \
targetArch=`package list -i /system/packages/haiku-*.hpkg \
| sed '/^\s*architecture:/!d; s,^\s*architecture:\s*,,'`
is_in_list "$targetArch" "$supportedTargetArchs" || (
echo "Unsupported target architecture: \"$targetArch\"" >&2