Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Clitherow <aphex@nildram.co.uk>2004-07-28 21:24:37 +0400
committerSimon Clitherow <aphex@nildram.co.uk>2004-07-28 21:24:37 +0400
commitd2da4f7160974717ee0c7fd2c4030055cffe1312 (patch)
treec50bf3b40603960b12e57fe41057209b42a42aa0 /SConstruct
parentbbdfacfde30df4fc0a402d0c19490a5ff3670e69 (diff)
- small fix for the scons 'wininst' target, plus a typo correction :)
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct8
1 files changed, 5 insertions, 3 deletions
diff --git a/SConstruct b/SConstruct
index 5c6f98f8969..db881b50eaa 100644
--- a/SConstruct
+++ b/SConstruct
@@ -1211,7 +1211,7 @@ def preparedist():
shutil.copy("text/copyright.txt", "../dist/copyright.txt")
shutil.copy("text/blender.html", "../dist/blender.html")
shutil.copy("text/GPL-license.txt", "../dist/GPL-license.txt")
- shutil.copy("text/Python-license.txt", "../dist/Python-lisence.txt")
+ shutil.copy("text/Python-license.txt", "../dist/Python-license.txt")
reltext = "release_" + string.join(version.split("."), '') + ".txt"
shutil.copy("text/" + reltext, "../dist/" + reltext)
@@ -1507,11 +1507,13 @@ def donsis(env, target, source):
# do language files
langlist = []
+ langfiles = []
langdir = os.listdir(startdir + "\\dist\\.blender\\locale")
for langitem in langdir:
if os.path.isdir(startdir + "\\dist\\.blender\\locale\\" + langitem) == 1:
- langlist.append("File " + startdir + "\\dist\\.blender\\locale\\" + langitem + "\\LC_MESSAGES\\blender.mo")
- langstring = string.join(langlist, "\n ")
+ langfiles.append("SetOutPath $BLENDERHOME\\.blender\\locale\\" + langitem + "\\LC_MESSAGES")
+ langfiles.append("File " + startdir + "\\dist\\.blender\\locale\\" + langitem + "\\LC_MESSAGES\\blender.mo")
+ langstring = string.join(langfiles, "\n ")
langstring += "\n\n"
nsis_cnt = string.replace(nsis_cnt, "[LANGUAGECONTS]", langstring)