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_1-post-reformat~33 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=cbb5afdc34691c3f72890a58b6e755730cd6b619;p=oweals%2Fopenssl.git 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