From: Richard Levitte Date: Thu, 26 Jun 2003 11:58:02 +0000 (+0000) Subject: Only remove old files if they exist. [Maing32]. X-Git-Tag: BEN_FIPS_TEST_1~38^2~28 X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff_plain;h=aa5ae4841e74c0fb94c0b9513cd93e5f24d12d4b Only remove old files if they exist. [Maing32]. Notified by Michael Gerdau --- diff --git a/util/pl/Mingw32.pl b/util/pl/Mingw32.pl index d0472df278..b76b7afd27 100644 --- a/util/pl/Mingw32.pl +++ b/util/pl/Mingw32.pl @@ -85,7 +85,7 @@ sub do_lib_rule ($Name=$name) =~ tr/a-z/A-Z/; $ret.="$target: \$(${Name}OBJ)\n"; - $ret.="\t\$(RM) $target\n"; + $ret.="\tif exist $target \$(RM) $target\n"; $ret.="\t\$(MKLIB) $target \$(${Name}OBJ)\n"; $ret.="\t\$(RANLIB) $target\n\n"; }