Commit 86bfb22d authored by topjohnwu's avatar topjohnwu

Override module when .replace is found

parent 3f057367
......@@ -146,9 +146,11 @@ void node_entry::create_module_tree(const char *module) {
if (is_root()) {
// Root nodes should not be replaced
rm_rf(buf);
return;
}
} else if (status < IS_MODULE) {
// Upgrade current node to current module
this->module = module;
status = IS_MODULE;
}
return;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment