lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


I have a module that does loadfile() to load some stuff. This stuff is
placed with the module obviously. Tough all relative paths are relative
to the where the main program lies (the one one doing the require()). If
i could get the library's path i could fix the relaitve paths, but seems
i can't get that?
(Oh, and the same problem occures if my library attempts to loadlib()
using relative paths).
Right now i'm just symlinking into the main program's directory, ugh.

Any tip?

Jorge