mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-08-01 19:06:11 +08:00
Modifying WebHost.CopyFile in order to find a TeamCity compatible way of doing
it --HG-- branch : 1.4.x
This commit is contained in:
parent
73cecd0d64
commit
550c10de79
@ -215,7 +215,7 @@ namespace Orchard.Specs.Hosting {
|
||||
}
|
||||
|
||||
public void CopyFile(string source, string destination) {
|
||||
var origin = Path.Get(Assembly.GetCallingAssembly().Location).Parent.Parent.Combine(source);
|
||||
var origin = Path.Get(typeof(IOrchardServices).Assembly.Location).Parent.Parent.Combine(source);
|
||||
var target = _tempSite.Combine(destination);
|
||||
|
||||
Directory.CreateDirectory(target.DirectoryName);
|
||||
|
Loading…
Reference in New Issue
Block a user