build.sh: Remove `function` from `die()` definition
authorW. Trevor King <wking@tremily.us>
Wed, 11 Dec 2013 22:18:45 +0000 (14:18 -0800)
committerW. Trevor King <wking@tremily.us>
Wed, 11 Dec 2013 22:18:45 +0000 (14:18 -0800)
`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

index ad0701380b578a37e181b2de7b88698cf94b9cde..dd5b68e0ac148b470c351f6b68455439455a8b54 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -17,7 +17,8 @@ REPOS="
        buildbot
        "
 
-function die() {
+die()
+{
        echo "$1"
        exit 1
 }