]> git.proxmox.com Git - mirror_edk2.git/commit - BaseTools/Source/Python/Common/MultipleWorkspace.py
BaseTools: Fix the issue to support windows root directory
authorLiming Gao <liming.gao@intel.com>
Wed, 14 Oct 2015 09:43:43 +0000 (09:43 +0000)
committerlgao4 <lgao4@Edk2>
Wed, 14 Oct 2015 09:43:43 +0000 (09:43 +0000)
commit1e69581335354a7df3bc07b21e495b0b3c5909c0
treee5186c8878e8d831c81070338de2a78cbb86b1ad
parentaf9785a9ed61daea52b47f0bf448f1f228beee1e
BaseTools: Fix the issue to support windows root directory

Use os.path.relpath to get the relative directory instead of directly trim it.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18602 6f19259b-4bc3-4df7-8a09-765794883524
BaseTools/Source/Python/Common/MultipleWorkspace.py