From: batt Date: Thu, 17 Feb 2011 13:13:18 +0000 (+0000) Subject: Use relative paths when creating a project. X-Git-Tag: 2.7.0~255 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=c38ec4f1adaa0323f1eaef97a46585052bdeee31;p=bertos.git Use relative paths when creating a project. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4711 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/wizard/BFolderPage.py b/wizard/BFolderPage.py index 67fb3019..f72df835 100644 --- a/wizard/BFolderPage.py +++ b/wizard/BFolderPage.py @@ -65,9 +65,9 @@ class BFolderPage(BWizardPage): self.setProjectInfo("PROJECT_PATH", unicode(self.pageContent.projectPath.text())) self.setProjectInfo("PROJECT_NAME", os.path.basename(unicode(self.pageContent.projectPath.text()))) self.setProjectInfo("PROJECT_SRC_PATH", os.path.join(self.projectInfo("PROJECT_PATH"), self.projectInfo("PROJECT_NAME"))) - self.setProjectInfo("PROJECT_SRC_PATH_FROM_MAKEFILE", os.path.join(self.projectInfo("PROJECT_PATH"), self.projectInfo("PROJECT_NAME"))) + self.setProjectInfo("PROJECT_SRC_PATH_FROM_MAKEFILE", self.projectInfo("PROJECT_NAME")) self.setProjectInfo("PROJECT_HW_PATH", os.path.join(self.projectInfo("PROJECT_PATH"), self.projectInfo("PROJECT_NAME"))) - self.setProjectInfo("PROJECT_HW_PATH_FROM_MAKEFILE", os.path.join(self.projectInfo("PROJECT_PATH"), self.projectInfo("PROJECT_NAME"))) + self.setProjectInfo("PROJECT_HW_PATH_FROM_MAKEFILE", self.projectInfo("PROJECT_NAME")) return True else: return False