From 2c3a1995fcdaecffbd8cc7efea2be4adf505321b Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Sun, 21 Jun 2009 18:38:12 +0000 Subject: Publish a method on ICompiler to generate the CIL assembly path Cause group deeding to apply next owner perms --- OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'OpenSim/Region/ScriptEngine/Shared') diff --git a/OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs b/OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs index a1525b9..35f791e 100644 --- a/OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs +++ b/OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs @@ -259,6 +259,13 @@ namespace OpenSim.Region.ScriptEngine.Shared.CodeTools // } //} + public string GetAssemblyName(UUID assetID) + { + return Path.Combine(ScriptEnginesPath, Path.Combine( + m_scriptEngine.World.RegionInfo.RegionID.ToString(), + FilePrefix + "_compiled_" + assetID + ".dll")); + } + /// /// Converts script from LSL to CS and calls CompileFromCSText /// -- cgit v1.1