Ignore output of failed delete command when the specified files are not present.

This commit is contained in:
the_fiddler 2010-10-04 23:03:09 +00:00
parent dd14644f6e
commit d4ee1512cf

View file

@ -35,8 +35,8 @@
<FilesToDelete Include=".\opentk.exe;..\..\opentk-1.0.*.exe" /> <FilesToDelete Include=".\opentk.exe;..\..\opentk-1.0.*.exe" />
</ItemGroup> </ItemGroup>
<Delete Files="@(FilesToDelete)" Condition="'$(OS)' == 'Windows_NT'" /> <Delete Files="@(FilesToDelete)" Condition="'$(OS)' == 'Windows_NT'" />
<Exec Command="rm .\opentk.exe" Condition="'$(OS)' != 'Windows_NT'" /> <Exec Command="rm -f .\opentk.exe" Condition="'$(OS)' != 'Windows_NT'" />
<Exec Command="rm ..\..\opentk-1.0.*.exe" Condition="'$(OS)' != 'Windows_NT'" /> <Exec Command="rm -f ..\..\opentk-1.0.*.exe" Condition="'$(OS)' != 'Windows_NT'" />
</Target> </Target>
<Target Name="Rebuild"> <Target Name="Rebuild">
<CallTarget Targets="Clean" /> <CallTarget Targets="Clean" />