lua-users home
lua-l archive

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


On Sun, Sep 29, 2013 at 12:47 AM, Sean Conner <sean@conman.org> wrote:
>   "You" as in the person trying to install a package, or "You" as in the
> author of a package?  Because the way you wrote that, it sounds like "You"
> as in the person trying to install a package.

That 'you' would definitely be the author of the package - would
defeat the whole idea to ask the poor user to work out what goes where
;)  The idea is something self-contained and small enough that you
could put it in your source without it becoming _yet another_
dependency.

>   Careful there, as a default Unix install of Lua has "./?.so" first in the
> LUA_CPATH and "./?.lua" in the LUA_PATH,

No problem - only looks for absolute paths in LUA_(C)PATH

>   2. I was unaware that $HOME/bin was a common Unix idiom.  And why are you
> checking for $HOME/bin (or /usr/local/bin)?

Well, it's a LInux-ism, certainly. On Debian/Ubuntu, not created by
default, but it will be put on the path if it exists.  Are there other
conventions?

At this point, I'm probably trying to be too helpful, and make non-su
installs possible... but (cue relevant XKCD http://xkcd.com/1172/ ) it
fits in with my workflow ;)

>   3. I have an issue with your Windows version of an absolute path.

%a:\...  is pretty much it - I've never seen any other variant in an
actual package.path on Windows.

steve d.