mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
add support for (nested) cmd scripts in script list/run
This commit is contained in:
parent
e10085bfe8
commit
d08f03058b
4 changed files with 111 additions and 57 deletions
|
@ -933,6 +933,7 @@ static int searchFinalFile(char **foundpath, const char *pm3dir, const char *sea
|
|||
((strcmp(DICTIONARIES_SUBDIR, pm3dir) == 0) ||
|
||||
(strcmp(LUA_LIBRARIES_SUBDIR, pm3dir) == 0) ||
|
||||
(strcmp(LUA_SCRIPTS_SUBDIR, pm3dir) == 0) ||
|
||||
(strcmp(CMD_SCRIPTS_SUBDIR, pm3dir) == 0) ||
|
||||
(strcmp(RESOURCES_SUBDIR, pm3dir) == 0))) {
|
||||
char *path = calloc(strlen(exec_path) + strlen(pm3dir) + strlen(filename) + 1, sizeof(char));
|
||||
if (path == NULL)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue