Skip to content

Commit

Permalink
Attempt to support "any" packages that only support one arch.
Browse files Browse the repository at this point in the history
  • Loading branch information
ProjectSynchro committed Aug 19, 2024
1 parent 56d8ec4 commit 66ff696
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tools/osxcross-macports
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,9 @@ getPkgUrl()
if [ -z "$pkg" ]; then
pkg=$(echo "$pkgs" | grep $OSXVERSION | grep "noarch" | uniq | tail -n1)
fi
if [ -z "$pkg" ]; then
pkg=$(echo "$pkgs" | grep "any" | grep $ARCH | uniq | tail -n1)
fi
if [ -z "$pkg" ]; then
pkg=$(echo "$pkgs" | grep "any" | grep "noarch" | uniq | tail -n1)
fi
Expand Down

0 comments on commit 66ff696

Please sign in to comment.