]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/Source/MigrationTools/org/tianocore/migration/MigrationTool.java
add .. support
[mirror_edk2.git] / Tools / Source / MigrationTools / org / tianocore / migration / MigrationTool.java
index edb6a95a34b7f91c0ce79442545bef6813e7c24f..7a37484914af705264ecf9a1da7fcd44e2aca088 100644 (file)
@@ -31,7 +31,7 @@ public class MigrationTool {
 \r
     private static final void mainFlow(ModuleInfo mi) throws Exception {\r
 \r
-        ModuleReader.ModuleScan(mi);\r
+        ModuleReader.aimAt(mi);\r
         \r
         //MigrationTool.ui.yesOrNo("go on replace?");\r
         SourceFileReplacer.fireAt(mi);    // some adding library actions are taken here,so it must be put before "MsaWriter"\r
@@ -76,7 +76,7 @@ public class MigrationTool {
 \r
     private static final String assignOutPutPath(String inputpath) {\r
         if (MigrationTool.defaultoutput) {\r
-            return inputpath.replaceAll(Common.strseparate, "$1");\r
+            return inputpath.replaceAll(Common.STRSEPARATER, "$1");\r
         } else {\r
             return MigrationTool.ui.getFilepath("Please choose where to place the output module", JFileChooser.DIRECTORIES_ONLY);\r
         }\r