From: Ruben Kerkhof Date: Sat, 24 Feb 2018 10:04:41 +0000 (+0100) Subject: build.sh: fix a few cosmetic issues X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=b77e13de9c2d63bda11c858b0dd2d1abb20600c4;p=collectd.git build.sh: fix a few cosmetic issues --- diff --git a/build.sh b/build.sh index c92bc4ae..bd4c1a31 100755 --- a/build.sh +++ b/build.sh @@ -2,7 +2,7 @@ GLOBAL_ERROR_INDICATOR=0 -check_for_application () +check_for_application() { for PROG in "$@" do @@ -22,13 +22,11 @@ check_for_application lex bison autoheader aclocal automake autoconf pkg-config libtoolize="" libtoolize --version >/dev/null 2>/dev/null -if test $? -eq 0 -then +if test $? -eq 0; then libtoolize=libtoolize else glibtoolize --version >/dev/null 2>/dev/null - if test $? -eq 0 - then + if test $? -eq 0; then libtoolize=glibtoolize else cat >&2 <