mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-23 07:36:16 +00:00
Extend shard data script
This commit is contained in:
parent
0b3186ac6a
commit
46ab8acea7
1 changed files with 20 additions and 6 deletions
|
@ -47,14 +47,28 @@ printLog(log, "")
|
||||||
|
|
||||||
for dir in InstallShardDataDirectories:
|
for dir in InstallShardDataDirectories:
|
||||||
printLog(log, "SHARD DIRECTORY " + dir)
|
printLog(log, "SHARD DIRECTORY " + dir)
|
||||||
mkPath(log, InstallDirectory + "/" + dir)
|
|
||||||
mkPath(log, ShardInstallDirectory + "/" + dir)
|
mkPath(log, ShardInstallDirectory + "/" + dir)
|
||||||
copyFilesNoTreeIfNeeded(log, InstallDirectory + "/" + dir, ShardInstallDirectory + "/" + dir)
|
printLog(log, "FROM " + dir)
|
||||||
for dir in InstallShardDataCollisionsDirectories:
|
|
||||||
printLog(log, "SHARD COLLISIONS " + dir)
|
|
||||||
mkPath(log, InstallDirectory + "/" + dir)
|
mkPath(log, InstallDirectory + "/" + dir)
|
||||||
mkPath(log, ShardInstallDirectory + "/" + InstallShardDataCollisionsDirectory + "/" + dir)
|
copyFilesNoTreeIfNeeded(log, InstallDirectory + "/" + dir, ShardInstallDirectory + "/" + dir)
|
||||||
copyFilesNoTreeIfNeeded(log, InstallDirectory + "/" + dir, ShardInstallDirectory + "/" + InstallShardDataCollisionsDirectory + "/" + dir)
|
for multiDir in InstallShardDataMultiDirectories:
|
||||||
|
dstDir = multiDir[0]
|
||||||
|
mkPath(log, ShardInstallDirectory + "/" + dstDir)
|
||||||
|
printLog(log, "SHARD DIRECTORY " + dstDir)
|
||||||
|
for srcDir in multiDir[1]:
|
||||||
|
printLog(log, "FROM " + srcDir)
|
||||||
|
mkPath(log, InstallDirectory + "/" + srcDir)
|
||||||
|
mkPath(log, ShardInstallDirectory + "/" + dstDir + "/" + srcDir)
|
||||||
|
copyFilesNoTreeIfNeeded(log, InstallDirectory + "/" + srcDir, ShardInstallDirectory + "/" + dstDir + "/" + srcDir)
|
||||||
|
for multiDir in InstallShardDataPrimitivesDirectories:
|
||||||
|
dstDir = multiDir[0]
|
||||||
|
mkPath(log, ShardInstallDirectory + "/" + dstDir)
|
||||||
|
printLog(log, "SHARD DIRECTORY " + dstDir)
|
||||||
|
for srcDir in multiDir[1]:
|
||||||
|
printLog(log, "FROM PRIMITIVES " + srcDir)
|
||||||
|
mkPath(log, PrimitivesDirectory + "/" + srcDir)
|
||||||
|
mkPath(log, ShardInstallDirectory + "/" + dstDir + "/" + srcDir)
|
||||||
|
copyFilesNoTreeIfNeeded(log, PrimitivesDirectory + "/" + srcDir, ShardInstallDirectory + "/" + dstDir + "/" + srcDir)
|
||||||
printLog(log, "")
|
printLog(log, "")
|
||||||
|
|
||||||
log.close()
|
log.close()
|
||||||
|
|
Loading…
Reference in a new issue