diff options
author | Simon Clitherow <aphex@nildram.co.uk> | 2005-10-13 00:59:47 +0400 |
---|---|---|
committer | Simon Clitherow <aphex@nildram.co.uk> | 2005-10-13 00:59:47 +0400 |
commit | 5b260edf495dad4b5f6c3d552397a5de344683f5 (patch) | |
tree | a42a7782bd6423e722b72d76684ec65b64a13134 /tools/scons | |
parent | 6c33918c5640143c3caaa8715f092b7f1d349c0b (diff) |
indentation got messed up!
Diffstat (limited to 'tools/scons')
-rw-r--r-- | tools/scons/bs/bs_dirs.py | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/tools/scons/bs/bs_dirs.py b/tools/scons/bs/bs_dirs.py index 75b2c50fab8..2be93929e89 100644 --- a/tools/scons/bs/bs_dirs.py +++ b/tools/scons/bs/bs_dirs.py @@ -77,7 +77,15 @@ def preparedist(): shutil.copytree(".blender/", "../dist/.blender") os.chdir(startdir) if os.path.isdir("dist/.blender/scripts"): - shutil.rmtree("dist/.blender/scripts") if os.path.isdir("dist/plugins"): shutil.rmtree("dist/plugins") os.makedirs("dist/plugins/include") shutil.copy("source/blender/blenpluginapi/documentation.h", "dist/plugins/include/documentation.h") shutil.copy("source/blender/blenpluginapi/floatpatch.h", "dist/plugins/include/floatpatch.h") shutil.copy("source/blender/blenpluginapi/iff.h", "dist/plugins/include/iff.h") shutil.copy("source/blender/blenpluginapi/plugin.h", "dist/plugins/include/plugin.h") shutil.copy("source/blender/blenpluginapi/util.h", "dist/plugins/include/util.h") + shutil.rmtree("dist/.blender/scripts") + if os.path.isdir("dist/plugins"): + shutil.rmtree("dist/plugins") + os.makedirs("dist/plugins/include") + shutil.copy("source/blender/blenpluginapi/documentation.h", "dist/plugins/include/documentation.h") + shutil.copy("source/blender/blenpluginapi/floatpatch.h", "dist/plugins/include/floatpatch.h") + shutil.copy("source/blender/blenpluginapi/iff.h", "dist/plugins/include/iff.h") + shutil.copy("source/blender/blenpluginapi/plugin.h", "dist/plugins/include/plugin.h") + shutil.copy("source/blender/blenpluginapi/util.h", "dist/plugins/include/util.h") os.chdir("release") shutil.copytree("scripts/", "../dist/.blender/scripts") |