aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/CodeTools
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/CodeTools')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs6
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs b/OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs
index de5f92d..52a34a6 100644
--- a/OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs
@@ -469,7 +469,11 @@ namespace SecondLife
469 scriptCompileCounter++; 469 scriptCompileCounter++;
470 try 470 try
471 { 471 {
472 File.Delete(assembly); 472 if (File.Exists(assembly))
473 {
474 File.SetAttributes(assembly, FileAttributes.Normal);
475 File.Delete(assembly);
476 }
473 } 477 }
474 catch (Exception e) // NOTLEGIT - Should be just FileIOException 478 catch (Exception e) // NOTLEGIT - Should be just FileIOException
475 { 479 {