mirror of
https://github.com/starr-dusT/tzdb_to_nx
synced 2024-03-05 21:18:52 -08:00
Merge pull request #12 from lat9nq/subdir-fix
generate_binary_list: Fix recursive sub dirs
This commit is contained in:
commit
0d17dd066d
@ -40,7 +40,11 @@ function(get_files_nx TARG SUB_DIR)
|
||||
if (NOT DIR OR DIR STREQUAL "\n")
|
||||
continue()
|
||||
endif()
|
||||
get_files_nx(${TARG}/${DIR} ${DIR})
|
||||
if (SUB_DIR)
|
||||
get_files_nx(${TARG}/${DIR} ${SUB_DIR}/${DIR})
|
||||
else()
|
||||
get_files_nx(${TARG}/${DIR} ${DIR})
|
||||
endif()
|
||||
endforeach()
|
||||
endfunction()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user