change scripts/ to luascripts/

This commit is contained in:
Philippe Teuwen 2019-08-21 23:17:01 +02:00
parent fb00690957
commit a8ee33baf4
47 changed files with 8 additions and 8 deletions

View file

@ -1133,7 +1133,7 @@ int set_pm3_libraries(lua_State *L) {
//--add to the LUA_PATH (package.path in lua)
// so we can load scripts from the ./scripts/ - directory
// so we can load scripts from the ./luascripts/ - directory
char scripts_path[strlen(get_my_executable_directory()) + strlen(LUA_SCRIPTS_DIRECTORY) + strlen(LUA_LIBRARIES_WILDCARD) + 1];
strcpy(scripts_path, get_my_executable_directory());
strcat(scripts_path, LUA_SCRIPTS_DIRECTORY);