summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2017-01-27 10:22:19 +0100
committerRichard Levitte <levitte@openssl.org>2017-01-27 10:22:19 +0100
commit0d37bd8058fa7933b0b6d6c2042592bf9daa80d7 (patch)
treeae83ee292afc297d362d8e5fe2a295fb3ffba6c9 /util
parente93f7d9c9873e8e9538c0be0b0d3b6851344dd6d (diff)
Don't use the ! command
The ! command doesn't exist on all Unix family operating systems, so don't use it. Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/2303)
Diffstat (limited to 'util')
-rwxr-xr-xutil/domd6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/domd b/util/domd
index bc2a85f7dd..5a92559c9b 100755
--- a/util/domd
+++ b/util/domd
@@ -34,11 +34,11 @@ else
${PERL} $TOP/util/clean-depend.pl < Makefile > Makefile.new
RC=$?
fi
-if ! cmp -s Makefile.save Makefile.new; then
- mv Makefile.new Makefile
-else
+if cmp -s Makefile.save Makefile.new; then
mv Makefile.save Makefile
rm -f Makefile.new
+else
+ mv Makefile.new Makefile
fi
# unfake the presence of Kerberos
rm $TOP/krb5.h