On Sun, Oct 10, 2010 at 9:24 PM, Alexander Gladysh <[email protected]> wrote:
> pushd "${PROJECT_PATH}" >/dev/null
>
> sudo luarocks remove "${ROCK_NAME}"
> sudo luarocks make "${ROCKSPEC}"
>
> popd >/dev/null

Now I understand - you want something like this

sudo luarocks --path ${PROJECT_PATH} make ${ROCKSPEC}

That would be fairly straightforward, using fs.change_dir() and then
fs.pop_dir().

_______________________________________________
Luarocks-developers mailing list
[email protected]
http://lists.luaforge.net/cgi-bin/mailman/listinfo/luarocks-developers

Reply via email to