X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=BaseTools%2FSource%2FPython%2FBPDG%2FBPDG.py;h=b1e328ff3f118096f83091e7ca51a0ee528aa505;hb=8ad5f10a2be2c2c8dde111c0478b02da44a781e2;hp=284eed65c743548bad48d5aba78087334b72351c;hpb=b36d134faf4305247830522b8e2bb255e98c5699;p=mirror_edk2.git
diff --git a/BaseTools/Source/Python/BPDG/BPDG.py b/BaseTools/Source/Python/BPDG/BPDG.py
index 284eed65c7..b1e328ff3f 100644
--- a/BaseTools/Source/Python/BPDG/BPDG.py
+++ b/BaseTools/Source/Python/BPDG/BPDG.py
@@ -6,7 +6,7 @@
# file of PCD layout for use during the build when the platform integrator selects to use
# automatic offset calculation.
#
-# Copyright (c) 2010, Intel Corporation. All rights reserved.
+# Copyright (c) 2010 - 2016, Intel Corporation. All rights reserved.
#
# This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License
@@ -20,7 +20,7 @@
##
# Import Modules
#
-import os
+import Common.LongFilePathOs as os
import sys
import encodings.ascii
@@ -33,7 +33,7 @@ import StringTable as st
import GenVpd
PROJECT_NAME = st.LBL_BPDG_LONG_UNI
-VERSION = (st.LBL_BPDG_VERSION + " " + gBUILD_VERSION)
+VERSION = (st.LBL_BPDG_VERSION + " Build " + gBUILD_VERSION)
## Tool entrance method
#
@@ -91,7 +91,7 @@ def MyOptionParser():
#
# Process command line firstly.
#
- parser = OptionParser(version="%s - Version %s\n" % (PROJECT_NAME, VERSION),
+ parser = OptionParser(version="%s - Version %s" % (PROJECT_NAME, VERSION),
description='',
prog='BPDG',
usage=st.LBL_BPDG_USAGE