From c38ec4f1adaa0323f1eaef97a46585052bdeee31 Mon Sep 17 00:00:00 2001 From: batt Date: Thu, 17 Feb 2011 13:13:18 +0000 Subject: [PATCH] Use relative paths when creating a project. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4711 38d2e660-2303-0410-9eaa-f027e97ec537 --- wizard/BFolderPage.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.25.1