diff --git a/etc/README b/etc/README index 34b7074..623adf7 100644 --- a/etc/README +++ b/etc/README @@ -5,18 +5,17 @@ This directory contains code that is more useful than the examples. This code These are modules to suport dynamic loading of LuaSocket by the stand alone Lua Interpreter with the use of the "require" function. For my Mac OS X -system, I place lua.lua in /usr/local/lua, luasocket.lua and the -libluasocket.dylib in /usr/local/lua/luasocket and set the following -environment variables: +system, I place all files in /Users/diego/tec/luasocket +and set the following environment variables: - LUA_PATH=/usr/local/lua/?/?.lua - LUA_INIT=@/usr/local/lua/lua.lua - LUA_FUNCNAME=_? - LUA_LIBNAME=/usr/local/lua/?/lib?.dylib + LUA_PATH=/Users/diego/tec/luasocket/?.lua + LUA_INIT=@/Users/diego/tec/luasocket/lua.lua + LUA_FUNCNAME=? + LUA_LIBNAME=/Users/diego/tec/luasocket/?.dylib With that, I can run any luasocket application with the command line: - lua -l luasocket