X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=Tools%2FSource%2FFrameworkTasks%2Forg%2Ftianocore%2Fframework%2Ftasks%2FTool.java;h=fbf69e288dc047660dc01a93c6ea6cf009e67b06;hb=4a557aceebadbc1e22090c1763e7d369b62bf8a6;hp=17e6298e003cac3bb8f7a0e4097837ef6e14c6fb;hpb=c493be6c9d2829c73e2e884846d098d955738f62;p=mirror_edk2.git diff --git a/Tools/Source/FrameworkTasks/org/tianocore/framework/tasks/Tool.java b/Tools/Source/FrameworkTasks/org/tianocore/framework/tasks/Tool.java index 17e6298e00..fbf69e288d 100644 --- a/Tools/Source/FrameworkTasks/org/tianocore/framework/tasks/Tool.java +++ b/Tools/Source/FrameworkTasks/org/tianocore/framework/tasks/Tool.java @@ -38,6 +38,7 @@ public class Tool implements EfiDefine, Section { private Input tempInputFile = new Input(); private String outputPath; private String outputFileName ; + private static Random ran = new Random(9999); private List
gensectList = new ArrayList
(); /** Call extern tool @@ -147,12 +148,10 @@ public class Tool implements EfiDefine, Section { } try { - Random ran = new Random(9999); this.outputFileName = "Temp" + ran.nextInt(); argument = toolArgList + inputFiles.toStringWithSinglepPrefix(" -i ") + tempInputFile.toString(" ")+ " -o " + outputFileName; EdkLog.log(this, EdkLog.EDK_VERBOSE, command + " " + argument); - EdkLog.log(this, EdkLog.EDK_INFO, this.outputFileName); /// /// execute command line ///