From de1d790c3c63d5046ec6422f95cab7b980fdce1c Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Sun, 12 Jul 2009 11:03:07 +0200 Subject: [PATCH] build.sh, version-gen.sh: Remove bashisms. Thanks to Peter Bray for pointing them out. --- build.sh | 3 ++- version-gen.sh | 7 +++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/build.sh b/build.sh index 804b2e25..20854b13 100755 --- a/build.sh +++ b/build.sh @@ -6,7 +6,8 @@ check_for_application () { for PROG in "$@" do - if ! which "$PROG" >/dev/null 2>&1; then + which "$PROG" >/dev/null 2>&1 + if test $? -ne 0; then cat >&2 <