On 5 March 2013 15:20, steve donovan <steve.j.dono...@gmail.com> wrote:
> On Tue, Mar 5, 2013 at 6:49 PM, Hisham <h...@hisham.hm> wrote:
>>    LUA_INCDIR="$LUA_INCDIR/lua/$LUA_VERSION"
>>    d_lua_h="$LUA_INCDIR/lua.h"
>>    if [ -f "$d_lua_h" ]
>>    then
>>       echo "lua.h found in $d_lua_h"
>>    else
>>       LUA_INCDIR="$LUA_INCDIR/lua$LUA_VERSION"
>>       d_lua_h="$LUA_INCDIR/lua.h"
>>       if [ -f "$d_lua_h" ]
>>       then
>>          echo "lua.h found in $d_lua_h (Debian/Ubuntu)"
>
> After the first test, LUA_INCDIR has been reset, so the second test
> builds on that.  So (e.g) it checks /usr/include/lua/5.1 and then
> checks /usr/include/lua/5.1/lua51.  (Was only obvious to me once I ran
> it, of course ;))

Oh, indeed! Thanks for catching it. I just pushed a fix.

-- Hisham
http://hisham.hm/

------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Luarocks-developers mailing list
Luarocks-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to