projects
/
dockerfile.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b587678
)
build.sh: Remove `function` from `die()` definition
author
W. Trevor King
<wking@tremily.us>
Wed, 11 Dec 2013 22:18:45 +0000
(14:18 -0800)
committer
W. 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
patch
|
blob
|
history
diff --git
a/build.sh
b/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
}