From ee39e382f2c06fbbdf20b0ca4ec94e466982d59a Mon Sep 17 00:00:00 2001 From: Hans-Peter Deifel <hpd@hpdeifel.de> Date: Sun, 29 Jul 2018 09:10:45 +0200 Subject: [PATCH] Use posix sh function definition syntax in build script --- build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index e6445fc..63812e4 100755 --- a/build.sh +++ b/build.sh @@ -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 "$*" } -- GitLab