Support vendor dumps repo

This commit is contained in:
YTKAB0BP
2024-11-21 21:37:43 +03:00
parent c138b0b259
commit 4a6a290f6d
2 changed files with 68 additions and 39 deletions
@@ -100,7 +100,9 @@ public class IOUtils {
vendor = "BBL";
} else if (type.equals("process")) {
int i = inherit.indexOf('@') + 1;
vendor = inherit.substring(i, inherit.indexOf(' ', i));
int j = inherit.indexOf(' ', i);
if (j == -1) j = inherit.length();
vendor = inherit.substring(i, j);
} else {
vendor = inherit.substring(0, inherit.indexOf(' '));
}