ps2toolchain icon indicating copy to clipboard operation
ps2toolchain copied to clipboard

Adding more scripts in scripts dir makes it fail

Open danielt3 opened this issue 4 years ago • 1 comments

I recently forked this project in order to provide builds for the toolchain. I added some more scripts to the scripts folder so I can have one single build with everything I need (the toolchain, plus gskit, plus ethernet drivers, plus utilities, etc).

When I reached number 8 in scripts, it started to fail. My script was called 008-gskit, for an example. The problem is that bash evaluates constants starting with 0 (zero) to octal and 008 is not a valid octal number.

There is a workaround: call scripts 001, 002, ..., 007, 010, 011, 012, ..., 017, 020, ... but that's not so good also.

I'm not a bash expert myself but I will give it a try to fix this and send a patch.

danielt3 avatar Apr 07 '20 19:04 danielt3