mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-25 05:56:58 +01:00
Compiler always ensures symlinks exist before compiling (#61)
This commit is contained in:
@@ -293,6 +293,13 @@ namespace TGServerService
|
||||
|
||||
Directory.CreateDirectory(resurrectee + "/.git/logs");
|
||||
|
||||
if (!Directory.Exists(resurrectee + "/config"))
|
||||
CreateSymlink(resurrectee + "/config", StaticConfigDir);
|
||||
if (!Directory.Exists(resurrectee + "/data"))
|
||||
CreateSymlink(resurrectee + "/data", StaticDataDir);
|
||||
if (!File.Exists(resurrectee + LibMySQLFile))
|
||||
CreateSymlink(resurrectee + LibMySQLFile, StaticDirs + LibMySQLFile);
|
||||
|
||||
bool repobusy_check = false;
|
||||
if (!Monitor.TryEnter(RepoLock))
|
||||
repobusy_check = true;
|
||||
|
||||
Reference in New Issue
Block a user