vgmrips / vgmplay-legacy

VGM file command-line player and Winamp plugin.
http://vgmrips.net
221 stars 52 forks source link

fix the find command to work with vgm and vgz when play from zip #62

Closed wboubi closed 4 years ago

wboubi commented 4 years ago

The find command use in vgm-player can't work with the vgm file because it use the or operator between 2 filename.

cf man find

Please note that -a when specified implicitly (for example by two tests appearing without an explicit operator between them) or explicitly has higher precedence than -o. This means that find . -name afile -o -name bfile -print will never print afile.

This fix use a Shell Pattern Matching.

superctr commented 4 years ago

Thanks!