From d2da4f7160974717ee0c7fd2c4030055cffe1312 Mon Sep 17 00:00:00 2001 From: Simon Clitherow Date: Wed, 28 Jul 2004 17:24:37 +0000 Subject: [PATCH] - small fix for the scons 'wininst' target, plus a typo correction :) --- SConstruct | 8 +++++--- 1 file 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)