EasyRPG / Player

RPG Maker 2000/2003 and EasyRPG games interpreter
https://easyrpg.org/player/
GNU General Public License v3.0
1.01k stars 190 forks source link

Trailing slash in RPG_RTP_PATH env vars cause failure #2664

Closed fmatthew5876 closed 3 years ago

fmatthew5876 commented 3 years ago

Tested in WSL:

This works

export RPG2K3_RTP_PATH="/mnt/c/Program Files (x86)/Steam/steamapps/common/RPG Maker 2003/RTP"

This fails:

export RPG2K3_RTP_PATH="/mnt/c/Program Files (x86)/Steam/steamapps/common/RPG Maker 2003/RTP/"
Ghabry commented 3 years ago

Well this was easy to fix, tested it with /usr/share/././////rtp/../rtp/2003/.

Patch follows when the buildbot stuff is fixed :)