Relax source for IP info during build

This commit is contained in:
ghidra1 2021-03-18 04:50:38 -04:00
parent bbd72ed943
commit 33bba9e614

View File

@ -204,17 +204,17 @@ def isBashSourceFile(File file) {
* Gets the ip for a file in the module from its header (or certification.manifest)
*********************************************************************************/
def getIp(File projectDir, File file) {
String ip = null;
if (isCSourceFile(file)) {
return getIpForSourceFile(file, " * IP:");
ip = getIpForSourceFile(file, " * IP:");
}
else if (isBashSourceFile(file)) {
ip = getIpForSourceFile(file, "# IP:");
}
if (ip == null) {
ip = getIpForNonSourceFile(projectDir, file);
}
if (isBashSourceFile(file)) {
String ip = getIpForSourceFile(file, "# IP:");
// allow transition from certification.manifest entry
if (ip != null) {
return ip;
}
}
return getIpForNonSourceFile(projectDir, file);
}
/*********************************************************************************