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

race.sh: change function definition syntax #5

Merged
merged 1 commit into from Aug 3, 2018

Conversation

simson-sillage
Copy link
Contributor

Since not all distros use bash as default sh, and the script uses
function which is a bashism.

@bmwiedemann
Copy link
Owner

Why not port it to standard shell and use racepart() instead. Tested it with Debian's dash

`function` is a bashism and not all distros use bash as default sh.
@simson-sillage simson-sillage changed the title race.sh: change shebang to /bin/bash race.sh: change function definition syntax Aug 3, 2018
@simson-sillage
Copy link
Contributor Author

I agree. Fixed

@bmwiedemann bmwiedemann merged commit 98d263a into bmwiedemann:master Aug 3, 2018
@bmwiedemann
Copy link
Owner

thanks a lot for this nice improvement

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

Successfully merging this pull request may close these issues.

None yet

2 participants