diff options
author | Orgad Shaneh <orgads@gmail.com> | 2016-07-31 15:34:57 +0300 |
---|---|---|
committer | Orgad Shaneh <orgads@gmail.com> | 2016-11-16 09:08:27 +0200 |
commit | 62f16de2d17af4ac1f3df4622b7bec850b60820a (patch) | |
tree | e469764453d3a8d878381135e91401cee30ca1d2 /util | |
parent | 22cc44d6b63e070cbff9770497f4fe6b3fa8d2a5 (diff) |
domd: Do not needlessly overwrite Makefiles
Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/1370)
Diffstat (limited to 'util')
-rwxr-xr-x | util/domd | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -32,7 +32,11 @@ else ${PERL} $TOP/util/clean-depend.pl < Makefile > Makefile.new RC=$? fi -mv Makefile.new Makefile +if ! cmp -s Makefile Makefile.new; then + mv Makefile.new Makefile +else + rm -f Makefile.new +fi # unfake the presence of Kerberos rm $TOP/krb5.h |