From 0d37bd8058fa7933b0b6d6c2042592bf9daa80d7 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Fri, 27 Jan 2017 10:22:19 +0100 Subject: [PATCH] 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 (Merged from https://github.com/openssl/openssl/pull/2303) --- util/domd | 6 +++--- 1 file 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 -- 2.25.1