summaryrefslogtreecommitdiffstats
path: root/tools/ko-release-push
diff options
context:
space:
mode:
authorSami Kerola2012-03-18 21:45:11 +0100
committerKarel Zak2012-03-30 16:48:13 +0200
commit7e08b7d3ce4acbaf64425c9fe6c2836a6921402a (patch)
treef597b678cff95a6c9b4fb27dbd62673108b8f1b8 /tools/ko-release-push
parenttools: config-gen: make scripts bourne sh compliant [checkbashisms] (diff)
downloadkernel-qcow2-util-linux-7e08b7d3ce4acbaf64425c9fe6c2836a6921402a.tar.gz
kernel-qcow2-util-linux-7e08b7d3ce4acbaf64425c9fe6c2836a6921402a.tar.xz
kernel-qcow2-util-linux-7e08b7d3ce4acbaf64425c9fe6c2836a6921402a.zip
tools: ko-release: make scripts bourne sh compliant [checkbashisms]
$ checkbashisms ko-release-gen possible bashism in ko-release-gen line 31 ('function' is useless): function die { possible bashism in ko-release-gen line 36 ('function' is useless): function add_file { possible bashism in ko-release-gen line 68 ('function' is useless): function add_html_dir { possible bashism in ko-release-gen line 72 (brace expansion): for fl in $(ls $src/*.{html,css,png}); do $ checkbashisms ko-release-push possible bashism in ko-release-push line 29 ('function' is useless): function die { possible bashism in ko-release-push line 34 ('function' is useless): function push_file { Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'tools/ko-release-push')
-rwxr-xr-xtools/ko-release-push2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/ko-release-push b/tools/ko-release-push
index f08954fc1..ef16fce97 100755
--- a/tools/ko-release-push
+++ b/tools/ko-release-push
@@ -26,7 +26,7 @@ DISTDIR="${BASEDIR}/v${VERSION_MAJOR}"
KO_DIR="/pub/linux/utils/util-linux/v${VERSION_MAJOR}"
-function die {
+die() {
echo $1
exit 1
}