From: Matt Caswell Date: Tue, 20 Jan 2015 22:13:39 +0000 (+0000) Subject: Fix logic to check for indent.pro X-Git-Tag: master-post-reformat~34 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=24a5f17b6a221c327d292d7236b24717d5e413a9;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