From bfe3db61a1cde1490d269f5c614f0cea6933571e Mon Sep 17 00:00:00 2001 From: duplo Date: Wed, 28 Jan 2009 11:55:05 +0000 Subject: [PATCH] Change the parameter name git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2235 38d2e660-2303-0410-9eaa-f027e97ec537 --- wizard/bertos_utils.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wizard/bertos_utils.py b/wizard/bertos_utils.py index 52d8acea..eeb762d8 100644 --- a/wizard/bertos_utils.py +++ b/wizard/bertos_utils.py @@ -23,7 +23,7 @@ def isBertosDir(directory): def bertosVersion(directory): return open(directory + "/VERSION").readline().strip() -def createBertosProject(directory, sources_dir, projectInfos): +def createBertosProject(directory, sourcesDir, projectInfos): if not os.path.isdir(directory): os.mkdir(directory) f = open(directory + "/project.bertos", "w") @@ -32,12 +32,12 @@ def createBertosProject(directory, sources_dir, projectInfos): ## Destination source dir srcdir = directory + "/bertos" shutil.rmtree(srcdir, True) - shutil.copytree(sources_dir + "/bertos", srcdir) + shutil.copytree(sourcesDir + "/bertos", srcdir) ## Destination makefile makefile = directory + "/Makefile" if os.path.exists(makefile): os.remove(makefile) - shutil.copy(sources_dir + "/Makefile", makefile) + shutil.copy(sourcesDir + "/Makefile", makefile) ## Destination project dir prjdir = directory + "/" + os.path.basename(directory) shutil.rmtree(prjdir, True) -- 2.25.1