From 73fd3e5afe66ec0069ba26d2781201a2d9840ce5 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Wed, 11 Dec 2013 14:18:45 -0800 Subject: [PATCH] build.sh: Remove `function` from `die()` definition `function` is a Bash-ism. POSIX suggests [1]: fname() compound-command[io-redirect ...] [1]: http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_09_05 --- build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index ad07013..dd5b68e 100755 --- a/build.sh +++ b/build.sh @@ -17,7 +17,8 @@ REPOS=" buildbot " -function die() { +die() +{ echo "$1" exit 1 } -- 2.26.2