fix: correct glob pattern to match nested directories in build script

This commit is contained in:
retoor 2025-04-07 08:24:11 +00:00
parent ae6cca44bb
commit 21ed704f1e

View File

@ -846,6 +846,10 @@ char *tool_function_directory_rglob(char *target_dir) {
struct stat file_stat;
char mod_time[20], create_time[20];
` if(!strcmp(target_dir, ".")) {
target_dir[0] = '*';
}
recursive_glob(target_dir, &results);
json_object *json_array = json_object_new_array();