Fix bashisms

makepngs.sh relies on a Bash feature in one of its case statements,
";;&"; this should be made explicit in the shebang.

intgamma.sh declares a function in a manner which may fail in non-Bash
sh implementations, this patch uses the correct syntax.

Based on a patch by Roflcopter4:
https://github.com/joncampbell123/dosbox-x/pull/3850

Signed-off-by: Stephen Kitt <steve@sk2.org>
This commit is contained in:
Stephen Kitt
2023-03-19 13:55:25 +01:00
committed by Cosmin Truta
parent 437b24a958
commit 9f9f8d8e63
2 changed files with 2 additions and 2 deletions

View File

@@ -19,7 +19,7 @@
# Function to print out a list of numbers as integers; the function truncates
# the integers which must be one-per-line.
function print(){
print(){
awk 'BEGIN{
str = ""
}