[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: large scale Lua projects; directory hierarchy
- From: steve donovan <steve.j.donovan@...>
- Date: Tue, 11 Jan 2011 12:07:27 +0200
2011/1/11 Michal Kolodziejczyk <email@example.com>:
> But you would need to add:
> (expanding ~ manually I guess)
Or directly in a launcher script (so _foo.lua would not be an issue)
> You can already have some software installed this way, luadoc for
> example - look for /usr/share/lua/5.1/*/*.init
Either way, you need some kind of installation logic. It feels better
that a script is self-contained and can be installed locally without
needing to be a superuser.
There are also tricks which use debug.getinfo to find out where the
file is in the filesystem.