]> git.proxmox.com Git - mirror_edk2.git/commitdiff
IntelFsp2Pkg/Tools: Fix a typo issue
authorfengyunhua <fengyunhua@byosoft.com.cn>
Tue, 13 Oct 2020 02:43:42 +0000 (10:43 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Mon, 19 Oct 2020 23:57:57 +0000 (23:57 +0000)
Error message:
raise Exception ("'%s' is not a valid directory!" % FvDir)
NameError: name 'FvDir' is not defined

FvDir should be fvDir.

Cc: Chasel Chiu <chasel.chiu@intel.com>
Cc: Nate DeSimone <nathaniel.l.desimone@intel.com>
Cc: Star Zeng <star.zeng@intel.com>
Signed-off-by: Yunhua Feng <fengyunhua@byosoft.com.cn>
Reviewed-by: Chasel Chiu <chasel.chiu@intel.com>
Reviewed-by: Nate DeSimone <nathaniel.l.desimone@intel.com>
IntelFsp2Pkg/Tools/PatchFv.py

index edb30c816b7b2be52eae6fdbd76b8cf6cb113403..0c8d908063154babdee8d5575a5443a8f71a63f8 100644 (file)
@@ -163,7 +163,7 @@ class Symbols:
         # If the fvDir is not a directory, then raise an exception\r
         #\r
         if not os.path.isdir(fvDir):\r
-            raise Exception ("'%s' is not a valid directory!" % FvDir)\r
+            raise Exception ("'%s' is not a valid directory!" % fvDir)\r
 \r
         #\r
         # If the Guid.xref is not existing in fvDir, then raise an exception\r