mirror of
https://github.com/aimrebirth/tools.git
synced 2026-04-15 01:43:25 +00:00
[db_add_lang] Set current path to lang dir.
This commit is contained in:
parent
6b68a19cc2
commit
25454a9e0d
1 changed files with 2 additions and 0 deletions
|
|
@ -292,6 +292,8 @@ int main(int argc, char *argv[])
|
||||||
|
|
||||||
cl::ParseCommandLineOptions(argc, argv);
|
cl::ParseCommandLineOptions(argc, argv);
|
||||||
|
|
||||||
|
fs::current_path(dir_to_lang_dbs);
|
||||||
|
|
||||||
auto storage = polygon4::initStorage(db_fn);
|
auto storage = polygon4::initStorage(db_fn);
|
||||||
storage->load();
|
storage->load();
|
||||||
kv_resolved = get_kv_resolved(dir_to_lang_dbs, *storage.get());
|
kv_resolved = get_kv_resolved(dir_to_lang_dbs, *storage.get());
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue