From: Matt Caswell Date: Tue, 20 Jan 2015 22:13:39 +0000 (+0000) Subject: Fix logic to check for indent.pro X-Git-Tag: OpenSSL_1_0_0-post-reformat~32 X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff_plain;h=bfe4de7257e6c9be36e9d55f868dd4f22507c4d2 Fix logic to check for indent.pro Reviewed-by: Tim Hudson --- diff --git a/util/openssl-format-source b/util/openssl-format-source index 162103f5e9..8cf27d3af3 100755 --- a/util/openssl-format-source +++ b/util/openssl-format-source @@ -35,7 +35,7 @@ COMMENTS=false # our own indent profile, which is at a well known location INDENT_PROFILE="$HERE/indent.pro" export INDENT_PROFILE -if [ -f "$INDENT_PROFILE" ]; then +if [ ! -f "$INDENT_PROFILE" ]; then echo "$0: unable to locate the openssl indent.pro file" >&2 exit 1 fi