[config] GLOB_BRACE is not supported in musl

pull/1031/head
Tim Stack 2 years ago
parent 5259da4f4f
commit ab3f01bbf5

@ -240,7 +240,7 @@ install_from_git(const std::string& repo)
return false;
}
auto config_path = local_staging_path / "*.{json,lnav,sql}";
auto config_path = local_staging_path / "*";
static_root_mem<glob_t, globfree> gl;
int found_config_file = 0;
int found_format_file = 0;
@ -259,6 +259,10 @@ install_from_git(const std::string& repo)
found_sql_file += 1;
continue;
}
if (file_path.extension() != ".json") {
found_sql_file += 1;
continue;
}
auto file_type_result = detect_config_file_type(file_path);

Loading…
Cancel
Save