From: Richard Levitte Date: Thu, 26 Jun 2003 11:58:04 +0000 (+0000) Subject: Only remove old files if they exist. [Maing32]. X-Git-Tag: OpenSSL_0_9_7c~68 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=4e6480faf8ee95d5783336b84a094cabe8584a44;p=oweals%2Fopenssl.git 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 043a3a53ee..4bee638c4a 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"; }