mirror of
https://github.com/tstack/lnav
synced 2024-11-17 15:29:40 +00:00
[config] GLOB_BRACE is not supported in musl
This commit is contained in:
parent
5259da4f4f
commit
ab3f01bbf5
@ -240,7 +240,7 @@ install_from_git(const std::string& repo)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
auto config_path = local_staging_path / "*.{json,lnav,sql}";
|
auto config_path = local_staging_path / "*";
|
||||||
static_root_mem<glob_t, globfree> gl;
|
static_root_mem<glob_t, globfree> gl;
|
||||||
int found_config_file = 0;
|
int found_config_file = 0;
|
||||||
int found_format_file = 0;
|
int found_format_file = 0;
|
||||||
@ -259,6 +259,10 @@ install_from_git(const std::string& repo)
|
|||||||
found_sql_file += 1;
|
found_sql_file += 1;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
if (file_path.extension() != ".json") {
|
||||||
|
found_sql_file += 1;
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
auto file_type_result = detect_config_file_type(file_path);
|
auto file_type_result = detect_config_file_type(file_path);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user