Windows: shut DEL up
authorRichard Levitte <levitte@openssl.org>
Mon, 23 May 2016 07:36:02 +0000 (09:36 +0200)
committerRichard Levitte <levitte@openssl.org>
Mon, 23 May 2016 07:36:02 +0000 (09:36 +0200)
Reviewed-by: Matt Caswell <matt@openssl.org>
Configurations/windows-makefile.tmpl

index 3f92f1400e68c8810e0cbcad2cf36fa848f2a74e..258421d4f328d62c175ce137814c82a042b2e2c7 100644 (file)
@@ -394,8 +394,8 @@ $target: $deps $ordinalsfile $mkdef_pl
                /implib:\$@ \$(LDOUTFLAG)$shlib$shlibext /def:$shlib.def @<< || (DEL /Q \$(\@B).* $shlib.* && EXIT 1)
 $objs $shlib.res$linklibs \$(EX_LIBS)
 <<
-       DEL /Q /F apps\\$shlib$shlibext
-       DEL /Q /F test\\$shlib$shlibext
+       IF EXIST apps\\$shlib$shlibext DEL /Q /F apps\\$shlib$shlibext
+       IF EXIST test\\$shlib$shlibext DEL /Q /F test\\$shlib$shlibext
        COPY $shlib$shlibext apps
        COPY $shlib$shlibext test
 EOF