mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-11-11 10:14:34 +08:00
change, search in python dir..
This commit is contained in:
parent
6e3e1baef7
commit
6b8f1b141e
1 changed files with 1 additions and 0 deletions
|
@ -1446,6 +1446,7 @@ static int searchFinalFile(char **foundpath, const char *pm3dir, const char *sea
|
|||
(strcmp(LUA_LIBRARIES_SUBDIR, pm3dir) == 0) ||
|
||||
(strcmp(LUA_SCRIPTS_SUBDIR, pm3dir) == 0) ||
|
||||
(strcmp(CMD_SCRIPTS_SUBDIR, pm3dir) == 0) ||
|
||||
(strcmp(PYTHON_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…
Reference in a new issue