From b77e13de9c2d63bda11c858b0dd2d1abb20600c4 Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Sat, 24 Feb 2018 11:04:41 +0100 Subject: [PATCH] build.sh: fix a few cosmetic issues --- build.sh | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) 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 <