Fix handling WINE64 resolution with a Gentoo mult-slotted Wine variant Deal with the case where wine and wine64 (binaries or binary wrappers) have a suffix part. E.g. Gentoo multi-slotted Wine64 variants could be: wine64-staging-9999
Fix handling WINE64 resolution with a Gentoo mult-slotted Wine variant
Deal with the case where wine and wine64 (binaries or binary wrappers)
have a suffix part. E.g. Gentoo multi-slotted Wine64 variants could be:
wine64-staging-9999

Tested, on Gentoo GNU/Linux, with multi-slotted Wine variants:

  WINE=/usr/bin/wine-vanilla-9999 winetricks win10
  WINE=wine-vanilla-9999 winetricks win7

to test that fallback functionality is working as expected.

Note: test WINE env variable, suffixed with 64, using 'which' to avoid
issues when $WINE is not an absolute path.

Winetricks/winetricks,Winetricks/winetricks