From c6e291c470805ea1f1814faa2ce3d5eee662a273 Mon Sep 17 00:00:00 2001 From: kaetemi Date: Fri, 14 Feb 2014 02:46:07 +0100 Subject: [PATCH] Only copy if needed --- code/nel/tools/build_gamedata/8_shard_data.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/nel/tools/build_gamedata/8_shard_data.py b/code/nel/tools/build_gamedata/8_shard_data.py index f0f921cc7..14042231c 100644 --- a/code/nel/tools/build_gamedata/8_shard_data.py +++ b/code/nel/tools/build_gamedata/8_shard_data.py @@ -77,8 +77,8 @@ for execDir in InstallShardDataExecutables: 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]) + copyFileListNoTreeIfNeeded(log, PatchmanCfgDefaultDirectory, ShardInstallDirectory + "/" + dstDir, execDir[2]) + copyFileListNoTreeIfNeeded(log, InstallDirectory, ShardInstallDirectory + "/" + dstDir, execDir[3]) printLog(log, "") log.close()