diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2010-09-08 17:27:43 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2010-09-08 17:32:26 -0300 |
commit | 70182a664e30bd73c72cd15e82118325d12d499b (patch) | |
tree | 4d4c7072cbd9bdd6f05d79172ca1a67d9ad3ce44 /COPYING | |
parent | 61df38e58f67798be8957e80140fc7d1cfc60a15 (diff) | |
download | luarocks-70182a664e30bd73c72cd15e82118325d12d499b.tar.gz luarocks-70182a664e30bd73c72cd15e82118325d12d499b.tar.bz2 luarocks-70182a664e30bd73c72cd15e82118325d12d499b.zip |
Modify algorithm selection of rocks tree and add --local.
Drop old behavior in which the tree list was scanned to find the
first writable one (which meant users ended up installing rocks
locally). Now it always tries the last in the list (which is by
default the global one) and warns users when they have no write
permissions. (It picks the _last_ one so that the old behavior
when running sudo remains the same). Also add --local as a shorthand
to specify the local tree, as suggested by Steve Donovan.
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions