]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/Source/FrameworkTasks/org/tianocore/framework/tasks/GenSectionTask.java
Fixed EDKT102;
[mirror_edk2.git] / Tools / Source / FrameworkTasks / org / tianocore / framework / tasks / GenSectionTask.java
index e432a2ce41bde24fbe4ea59e007581b84ed1a549..75b6511ce27c4ce09826a8940750e8a7d76043b0 100644 (file)
@@ -59,11 +59,11 @@ public class GenSectionTask extends Task implements EfiDefine {
         //\r
         // absolute path of efi tools\r
         //\r
-        String path = project.getProperty("env.Framework_Tools_Path");\r
+        String path = project.getProperty("env.FRAMEWORK_TOOLS_PATH");\r
         if (path == null) {\r
-            command = "gensection";\r
+            command = "GenSection";\r
         } else {\r
-            command = path + "/" + "gensection";\r
+            command = path + "/" + "GenSection";\r
         }\r
         //\r
         // argument of tools\r
@@ -93,7 +93,7 @@ public class GenSectionTask extends Task implements EfiDefine {
                 //\r
                 // command execution success\r
                 //\r
-                System.out.println("gensection successed!");\r
+                System.out.println("gensection succeeded!");\r
             } else {\r
                 //\r
                 // command execution fail\r