fix: correct glob pattern to match nested directories in build script
This commit is contained in:
parent
21ed704f1e
commit
78c11a84de
4
tools.h
4
tools.h
@ -845,8 +845,8 @@ char *tool_function_directory_rglob(char *target_dir) {
|
|||||||
results.gl_pathc = 0;
|
results.gl_pathc = 0;
|
||||||
struct stat file_stat;
|
struct stat file_stat;
|
||||||
char mod_time[20], create_time[20];
|
char mod_time[20], create_time[20];
|
||||||
|
|
||||||
` if(!strcmp(target_dir, ".")) {
|
if(!strcmp(target_dir, ".")) {
|
||||||
target_dir[0] = '*';
|
target_dir[0] = '*';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user