On Tue, Dec 21, 2010 at 21:48, Ildar Mulyukov <[email protected]> wrote: > On 21.12.2010 21:03:40, Alexander Gladysh wrote: >> > On Sat, Oct 9, 2010 at 3:49 AM, Alexander Gladysh <[email protected]> >> > wrote: >> >> ssh example.com git --git-tree=/path/to/repo.git show >> >> rockspec/version-0.1-1.rockspec | luarocks install --from-stdin
>> I have a bash-specific solution for this now: >> luarocks install <(ssh example.com git --git-tree=/path/to/repo.git >> show rockspec/version-0.1-1.rockspec) > I guess there's a shell-agnostic but Linux-specific way: > ssh example.com git --git-tree=/path/to/repo.git show > rockspec/version-0.1-1.rockspec | luarocks install /dev/stdin > Unfortunatelly I couldn't make either of them work for me. This is strange. (Does not work for me either, I shoud have checked before posting :-) ) LuaRocks seem to think that filenames, starting with /dev/ are not rockspecs, but rock names. Perhaps that is because they do not have a proper extension. This is not correct, IMO, LR should always check for a file if rock is not found in the repository. (Or, probably, file check should go first, since it is probably faster.) Alexander. _______________________________________________ Luarocks-developers mailing list [email protected] http://lists.luaforge.net/cgi-bin/mailman/listinfo/luarocks-developers
