# To local path format\r
#\r
Path = os.path.normpath(Path)\r
- if Path.startswith(GlobalData.gWorkspace) and not os.path.exists(Path):\r
+ if Path.startswith(GlobalData.gWorkspace) and not Path.startswith(GlobalData.gBuildDirectory) and not os.path.exists(Path):\r
Path = Path[len (GlobalData.gWorkspace):]\r
if Path[0] == os.path.sep:\r
Path = Path[1:]\r