From 9d5c9019b54aab987948fc5b1e11d97517b6656e Mon Sep 17 00:00:00 2001 From: kaetemi Date: Sun, 9 Feb 2014 02:40:14 +0100 Subject: [PATCH] Move visual slot tab to separate directory --- code/nel/tools/build_gamedata/processes/sheets/0_setup.py | 1 + code/nel/tools/build_gamedata/processes/sheets/2_build.py | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/code/nel/tools/build_gamedata/processes/sheets/0_setup.py b/code/nel/tools/build_gamedata/processes/sheets/0_setup.py index 91682b77c..7dc36ab9d 100644 --- a/code/nel/tools/build_gamedata/processes/sheets/0_setup.py +++ b/code/nel/tools/build_gamedata/processes/sheets/0_setup.py @@ -57,6 +57,7 @@ printLog(log, ">>> Setup export directories <<<") # Setup build directories printLog(log, ">>> Setup build directories <<<") mkPath(log, ExportBuildDirectory + "/" + SheetsBuildDirectory) +mkPath(log, ExportBuildDirectory + "/" + VisualSlotTabBuildDirectory) # Setup client directories printLog(log, ">>> Setup client directories <<<") diff --git a/code/nel/tools/build_gamedata/processes/sheets/2_build.py b/code/nel/tools/build_gamedata/processes/sheets/2_build.py index 8ad5464aa..d9690f52a 100644 --- a/code/nel/tools/build_gamedata/processes/sheets/2_build.py +++ b/code/nel/tools/build_gamedata/processes/sheets/2_build.py @@ -77,7 +77,8 @@ else: cf.write("\n") cf.close() subprocess.call([ SheetsPacker ]) - copyFileIfNeeded(log, "visual_slot.tab", DataCommonDirectory + "/visual_slot.tab") + mkPath(log, ExportBuildDirectory + "/" + VisualSlotTabBuildDirectory) + copyFileIfNeeded(log, "visual_slot.tab", ExportBuildDirectory + "/" + VisualSlotTabBuildDirectory + "/visual_slot.tab") os.remove("visual_slot.tab") printLog(log, "")