|
From: <js...@us...> - 2011-12-15 03:32:52
|
Revision: 2471
http://edk2-buildtools.svn.sourceforge.net/edk2-buildtools/?rev=2471&view=rev
Author: jsu1
Date: 2011-12-15 03:32:45 +0000 (Thu, 15 Dec 2011)
Log Message:
-----------
Update UPT to fix the issue that the distribution stored in Conf\upt will have two periods if get renamed during install
Reviewed-by: gikidy
Signed-off-by: jsu1
Modified Paths:
--------------
trunk/BaseTools/Source/Python/UPT/InstallPkg.py
Modified: trunk/BaseTools/Source/Python/UPT/InstallPkg.py
===================================================================
--- trunk/BaseTools/Source/Python/UPT/InstallPkg.py 2011-12-15 02:48:25 UTC (rev 2470)
+++ trunk/BaseTools/Source/Python/UPT/InstallPkg.py 2011-12-15 03:32:45 UTC (rev 2471)
@@ -403,7 +403,7 @@
DestFile = os.path.normpath(os.path.join(DestDir, DistFileName))
if os.path.exists(DestFile):
FileName, Ext = os.path.splitext(DistFileName)
- NewFileName = FileName + '_' + DistPkg.Header.GetGuid() + '_' + DistPkg.Header.GetVersion() + '.' + Ext
+ NewFileName = FileName + '_' + DistPkg.Header.GetGuid() + '_' + DistPkg.Header.GetVersion() + Ext
DestFile = os.path.normpath(os.path.join(DestDir, NewFileName))
if os.path.exists(DestFile):
#
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|