clementfarabet / torchinstall

A one-line install script for Torch
5 stars 7 forks source link

make local install use local tree and local luarocks #3

Closed koraykv closed 11 years ago

koraykv commented 11 years ago

I changed the laurocks configure line to install into a local directory and also use that directory for rocks installation. This way, one can have multiple luarocks installation each having their own rocks install locations so it is possible to have multiple torch installations.

clementfarabet commented 11 years ago

Thanks Koray. One comment though: lines 98-103, shouldn't it be $HOME/local/bin/luarocks instead of just luarocks then?

koraykv commented 11 years ago

Yes it should be that way! I corrected on my fork.