From 1a9844d718165ec6893699132e5e10a3caeb1df2 Mon Sep 17 00:00:00 2001 From: kaetemi Date: Fri, 14 Feb 2014 01:21:05 +0100 Subject: [PATCH] Extend shard data script to gather executables and configurations --- code/nel/tools/build_gamedata/8_shard_data.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/code/nel/tools/build_gamedata/8_shard_data.py b/code/nel/tools/build_gamedata/8_shard_data.py index 7fe65c6f3..f0f921cc7 100644 --- a/code/nel/tools/build_gamedata/8_shard_data.py +++ b/code/nel/tools/build_gamedata/8_shard_data.py @@ -69,6 +69,16 @@ for multiDir in InstallShardDataPrimitivesDirectories: mkPath(log, PrimitivesDirectory + "/" + srcDir) mkPath(log, ShardInstallDirectory + "/" + dstDir + "/" + srcDir) copyFilesNoTreeIfNeeded(log, PrimitivesDirectory + "/" + srcDir, ShardInstallDirectory + "/" + dstDir + "/" + srcDir) +for execDir in InstallShardDataExecutables: + dstDir = execDir[0] + mkPath(log, LinuxServiceExecutableDirectory) + mkPath(log, PatchmanCfgDefaultDirectory) + mkPath(log, InstallDirectory) + mkPath(log, ShardInstallDirectory + "/" + dstDir) + printLog(log, "SHARD DIRECTORY " + dstDir) + copyFileIfNeeded(log, LinuxServiceExecutableDirectory + "/" + execDir[1][1], ShardInstallDirectory + "/" + dstDir + "/" + execDir[1][0]) + copyFileListNoTree(log, PatchmanCfgDefaultDirectory, ShardInstallDirectory + "/" + dstDir, execDir[2]) + copyFileListNoTree(log, InstallDirectory, ShardInstallDirectory + "/" + dstDir, execDir[3]) printLog(log, "") log.close()