Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding more scripts in scripts dir makes it fail #59

Open
danielt3 opened this issue Apr 7, 2020 · 1 comment
Open

Adding more scripts in scripts dir makes it fail #59

danielt3 opened this issue Apr 7, 2020 · 1 comment

Comments

@danielt3
Copy link

danielt3 commented Apr 7, 2020

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.

@HurrieCrane
Copy link

Could you post the error? I've added a script to ./scripts called 008-gskit.sh and I've not had a problem executing it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants