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

The fix changes the glob pattern from a literal dot to a wildcard asterisk when the target directory is ".", enabling recursive matching of files in subdirectories during the build process.
This commit is contained in:
retoor 2025-04-07 08:24:38 +00:00
parent 682b050ed4
commit e6784bc68c

View File

@ -846,7 +846,7 @@ char *tool_function_directory_rglob(char *target_dir) {
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] = '*';
} }