Use relative paths when creating a project.
authorbatt <batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Thu, 17 Feb 2011 13:13:18 +0000 (13:13 +0000)
committerbatt <batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Thu, 17 Feb 2011 13:13:18 +0000 (13:13 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4711 38d2e660-2303-0410-9eaa-f027e97ec537

wizard/BFolderPage.py

index 67fb3019b3201fd60727167e61375a1d6874e063..f72df83511f4ccf10cf03f66bc5d84bcd73d1174 100644 (file)
@@ -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