mirror of https://github.com/acidanthera/audk.git
1. Fix EDKT483 FrameworkWizard Should support multiple msa files in a same directory
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2081 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
4629ca40b7
commit
3cbeeeb8d7
|
@ -709,10 +709,16 @@ public class Clone extends IDialog {
|
|||
Log.wrn("Clone", "The target module already exists!");
|
||||
return false;
|
||||
}
|
||||
if (GlobalData.isDuplicateRelativePath(Tools.getFilePathOnly(trg), mode)) {
|
||||
Log.wrn("Clone", "There already exists a same directory with a module");
|
||||
return false;
|
||||
}
|
||||
|
||||
//
|
||||
// Check if path already exists
|
||||
// Currently we allow user to add multiple msa files in one same directory
|
||||
// Remove this checkpoint
|
||||
//
|
||||
// if (GlobalData.isDuplicateRelativePath(Tools.getFilePathOnly(trg), mode)) {
|
||||
// Log.wrn("Clone", "There already exists a same directory with a module");
|
||||
// return false;
|
||||
// }
|
||||
|
||||
return checkId(mode);
|
||||
}
|
||||
|
|
|
@ -540,11 +540,13 @@ public class SelectModuleBelong extends IDialog {
|
|||
|
||||
//
|
||||
// Check if path already exists
|
||||
// Currently we allow user to add multiple msa files in one same directory
|
||||
// Remove this checkpoint
|
||||
//
|
||||
if (GlobalData.isDuplicateRelativePath(Tools.getFilePathOnly(modulePath), mode)) {
|
||||
Log.wrn("New File", "There already exists a same directory with a module");
|
||||
return false;
|
||||
}
|
||||
// if (GlobalData.isDuplicateRelativePath(Tools.getFilePathOnly(modulePath), mode)) {
|
||||
// Log.wrn("New File", "There already exists a same directory with a module");
|
||||
// return false;
|
||||
// }
|
||||
|
||||
//
|
||||
// Check if Guid+Version is unique
|
||||
|
|
Loading…
Reference in New Issue