diff --git a/contrib/testpngs/makepngs.sh b/contrib/testpngs/makepngs.sh index 270f0630a..f0238c3b5 100755 --- a/contrib/testpngs/makepngs.sh +++ b/contrib/testpngs/makepngs.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env bash # Make a set of test PNG files, MAKEPNG is the name of the makepng executable # built from contrib/libtests/makepng.c diff --git a/contrib/tools/intgamma.sh b/contrib/tools/intgamma.sh index 3198cb241..aaed68a09 100755 --- a/contrib/tools/intgamma.sh +++ b/contrib/tools/intgamma.sh @@ -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 = "" }