Error on paths ending with slash
Krzmbrzl opened this issue · comments
If I try to build a PBO like so: armake2 build "/myPath/myDir/" myPBO.pbo
(notice the trailing slash at the end of the dirname), armake won't be able to find the directory. It works however, if I remove the trailing slash.
I guess there's just a little check missing in the code that would prevent adding a trailing slash to the path...
Can't reproduce with master-version on Linux. This either is a Windows-only-bug or I used an old version of the program 🤔
So it appears that this error is probably caused by some weird stuff going on in windows batch-execution (how quoted paths are being expanded). Can't reporduce when diretly invoking armake