Merge pull request #65 from stloeffler/patch-1

Let osxcross-macports pick up noarch packages
This commit is contained in:
Thomas Pöchtrager 2016-02-28 21:27:56 +01:00
commit 69b9d83d9b

View File

@ -264,6 +264,9 @@ getPkgUrl()
done
local pkg=$(echo "$pkgs" | grep $OSXVERSION | grep $ARCH | uniq | tail -n1)
if [ -z "$pkg" ]; then
pkg=$(echo "$pkgs" | grep $OSXVERSION | grep "noarch" | uniq | tail -n1)
fi
verboseMsg " selected: $pkg"