|
From: <js...@us...> - 2011-12-14 07:25:35
|
Revision: 2468
http://edk2-buildtools.svn.sourceforge.net/edk2-buildtools/?rev=2468&view=rev
Author: jsu1
Date: 2011-12-14 07:25:26 +0000 (Wed, 14 Dec 2011)
Log Message:
-----------
Fix UPT install windows distribution under linux will fail as backward slash \ is in path
Signed-off-by: jsu1
Reviewed-by: gikidy
Modified Paths:
--------------
trunk/BaseTools/Source/Python/UPT/Library/ParserValidate.py
Modified: trunk/BaseTools/Source/Python/UPT/Library/ParserValidate.py
===================================================================
--- trunk/BaseTools/Source/Python/UPT/Library/ParserValidate.py 2011-12-13 08:53:07 UTC (rev 2467)
+++ trunk/BaseTools/Source/Python/UPT/Library/ParserValidate.py 2011-12-14 07:25:26 UTC (rev 2468)
@@ -286,7 +286,7 @@
if os.path.isabs(Path):
return False
else:
- if Path[1:2] == ':' or Path.find('\\') >=0:
+ if Path[1:2] == ':':
return False
if os.path.isabs(Path):
return False
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|