git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1373
6f19259b-4bc3-4df7-8a09-
765794883524
}\r
}\r
\r
- public String modulepath = null;\r
+ public final String modulepath;\r
\r
public String outputpath = null;\r
\r
ModuleInfo.ui.println("No INF nor MSA file found!");\r
System.exit(0);\r
} else {\r
- filename = ModuleInfo.ui.choose("Found .inf or .msa file for module\n" + mi.modulepath + "\nChoose one Please", mi.msaorinf.toArray());\r
+ if (mi.msaorinf.size() == 1) {\r
+ filename = (String)mi.msaorinf.toArray()[0];\r
+ } else {\r
+ filename = ModuleInfo.ui.choose("Found .inf or .msa file for module\n" + mi.modulepath + "\nChoose one Please", mi.msaorinf.toArray());\r
+ }\r
}\r
if (filename.contains(".inf")) {\r
readInf(filename);\r
\r
String outname = null;\r
String inname = null;\r
+ /*\r
if (ModuleInfo.ui.yesOrNo("Changes will be made to the Source Code. View details?")) {\r
showdetails = true;\r
}\r
+ */\r
+ showdetails = true; // set this as default now, may be changed in the future\r
\r
Iterator<String> di = mi.localmodulesources.iterator();\r
while (di.hasNext()) {\r