On Sun, Oct 10, 2010 at 19:35, steve donovan <[email protected]> wrote:
> On Sun, Oct 10, 2010 at 2:34 PM, Alexander Gladysh <[email protected]> wrote:
>> I would like to tell luarocks make a path to sources instead of cd-ing there.
> Sorry Alexander, could you give an example? I am puzzled by this sentence.
Sorry, lack of sleep took its toll.
I want to get rid of pushd/popd below:
pushd "${PROJECT_PATH}" >/dev/null
sudo luarocks remove "${ROCK_NAME}"
sudo luarocks make "${ROCKSPEC}"
popd >/dev/null
pushd "${ROCKS_PATH}" >/dev/null
luarocks pack "${ROCK_NAME}"
cp $(luarocks show --rockspec "${ROCK_NAME}") .
git add ${ROCK_NAME}*.{rock,rockspec} # Fragile
git commit # Intentionally leaving message to user
popd >/dev/null
Alexander.
_______________________________________________
Luarocks-developers mailing list
[email protected]
http://lists.luaforge.net/cgi-bin/mailman/listinfo/luarocks-developers