Some of the scripts use extensions that are specific to bash so replace '/bin/sh' with '/bin/bash' to avoid bashism warnings.
@@ -102,7 +102,7 @@ run_tests: $(PROGS)
perl $(TESTS)
run_tests_mingw: $(PROGS)
- /bin/sh do_tests.mingw
+ /bin/bash do_tests.mingw
astyle:
astyle -n --style=kr --indent-switches --add-brackets *.c
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
function proceed {
read -p "proceed ? [n] " response
echo "MinGW test script starting"
# utility to macro-expand a test program
CC=gcc