KoffeinFlummi / armake2

Successor to armake written in Rust
GNU General Public License v2.0
50 stars 17 forks source link

Error on paths ending with slash #43

Closed Krzmbrzl closed 5 years ago

Krzmbrzl commented 5 years ago

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...

Krzmbrzl commented 5 years ago

Can't reproduce with master-version on Linux. This either is a Windows-only-bug or I used an old version of the program :thinking:

Krzmbrzl commented 5 years ago

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