Update EdkIIWorkspaceBuild.py to fix bug of input activeplateform file path not match.
authorqouyang <qouyang@7335b38e-4728-0410-8992-fb3ffe349368>
Thu, 26 Jul 2007 06:18:21 +0000 (06:18 +0000)
committerqouyang <qouyang@7335b38e-4728-0410-8992-fb3ffe349368>
Thu, 26 Jul 2007 06:18:21 +0000 (06:18 +0000)
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@410 7335b38e-4728-0410-8992-fb3ffe349368

Source/Python/Common/EdkIIWorkspaceBuild.py

index e1d5e6f..55b5593 100644 (file)
@@ -210,8 +210,8 @@ class WorkspaceBuild(object):
             self.Build[key] = ItemBuild(key)\r
         \r
         # Get active platform\r
-        dscFileName = NormPath(ActivePlatform)\r
-        File = self.WorkspaceFile(dscFileName)\r
+        dscFileName = ActivePlatform\r
+        File = self.WorkspaceFile(NormPath(dscFileName))\r
         if os.path.exists(File) and os.path.isfile(File):\r
             self.DscDatabase[dscFileName] = Dsc(File, True)\r
         else:\r