mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 10:19:23 +02:00
Updated case and default setting
Updated case and default setting to be false
This commit is contained in:
parent
93f3b942bb
commit
7d7d36a24f
1 changed files with 2 additions and 9 deletions
|
@ -96,15 +96,8 @@ public class ModuleManifestFile {
|
||||||
}
|
}
|
||||||
else if (trimmedLine.startsWith(EXCLUDE_FROM_GHIDRA_JAR)) {
|
else if (trimmedLine.startsWith(EXCLUDE_FROM_GHIDRA_JAR)) {
|
||||||
String[] tokens = trimmedLine.split(":");
|
String[] tokens = trimmedLine.split(":");
|
||||||
|
String value = tokens.length == 2 ? tokens[1].trim() : "";
|
||||||
if (tokens.length == 2) {
|
excludeFromGhidraJar = Boolean.valueOf(value);
|
||||||
if (tokens[1].toLowerCase().trim().compareTo("false") == 0)
|
|
||||||
excludeFromGhidraJar = false;
|
|
||||||
else
|
|
||||||
excludeFromGhidraJar = true;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
excludeFromGhidraJar = true; // Default to not be included in build
|
|
||||||
}
|
}
|
||||||
else if (trimmedLine.startsWith(MODULE_FILE_LICENSE)) {
|
else if (trimmedLine.startsWith(MODULE_FILE_LICENSE)) {
|
||||||
processModuleFileLicense(trimmedLine);
|
processModuleFileLicense(trimmedLine);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue