Commit ee39e382 authored by Hans-Peter Deifel's avatar Hans-Peter Deifel 🐢
Browse files

Use posix sh function definition syntax in build script

parent e4979401
......@@ -28,7 +28,7 @@ EOF
exit 1
fi
function doTest {
doTest() {
if [[ $# -eq 0 ]]; then
exec stack test
fi
......@@ -48,7 +48,7 @@ function doTest {
esac
}
function doBench {
doBench() {
exec stack bench :bench --benchmark-arguments "$*"
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment