import re\r
import os.path as path\r
from Common.LongFilePathSupport import OpenLongFilePath as open\r
-\r
+from Common.MultipleWorkspace import MultipleWorkspace as mws\r
from Common.BuildToolError import *\r
from Common.Misc import *\r
from Common.String import *\r
found = False\r
while not found and os.sep in package_rel_dir:\r
index = package_rel_dir.index(os.sep)\r
- current_dir = os.path.join(current_dir, package_rel_dir[:index])\r
+ current_dir = mws.join(current_dir, package_rel_dir[:index])\r
for fl in os.listdir(current_dir):\r
if fl.endswith('.dec'):\r
found = True\r