On 16 September 2011 21:25, Hisham <[email protected]> wrote:
>
> I'm using uname, but I'm "normalizing" the received values a bit, as
> some platforms tend to provide different results (for example, I spot
> `elseif proc:match("amd64") or proc:match("x86_64") then proc =
> "x86_64"` in the code).

Why normalize? On a particular system is one not more likely to use
that system's uname -m names? I don't expect those names to be
portable, since if I'm using multiple OSes, I'll need to add the OS
name to the arch-specific path too.

-- 
http://rrt.sc3d.org

------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
http://p.sf.net/sfu/rim-devcon-copy2
_______________________________________________
Luarocks-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to