From caf8a67c62e6b12ac21561f036703e06741cac04 Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Sat, 24 Feb 2018 11:03:10 +0100 Subject: [PATCH] build.sh: use consistent indentation --- build.sh | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/build.sh b/build.sh index 97e55d85..c92bc4ae 100755 --- a/build.sh +++ b/build.sh @@ -1,21 +1,21 @@ -#! /bin/sh +#!/bin/sh GLOBAL_ERROR_INDICATOR=0 check_for_application () { - for PROG in "$@" - do - which "$PROG" >/dev/null 2>&1 - if test $? -ne 0; then - cat >&2 </dev/null 2>&1 + if test $? -ne 0; then + cat >&2 </dev/null 2>/dev/null if test $? -eq 0 then - libtoolize=libtoolize + libtoolize=libtoolize else - glibtoolize --version >/dev/null 2>/dev/null - if test $? -eq 0 - then - libtoolize=glibtoolize - else - cat >&2 </dev/null 2>/dev/null + if test $? -eq 0 + then + libtoolize=glibtoolize + else + cat >&2 <