Closed antitoxic closed 11 years ago
That path looks like what I'd expect for the rock installation. You should also find the wrappers under /usr/libexec/cw.
I thought as well it's todo with rock installation. However I did a global find
+ manually checked /usr/libexec/cw
doesn't exist.
Could be again down to my distro (Arch) - would be a bit annoying if so.
I can confirm this is a bug in the rockspec. Thanks very much for reporting it; I'll have a fix out ASAP.
(A manual fix is to copy the files to the correct location as above.)
Unfortunately, it seems LuaRocks has no support for copying the wrapper scripts to the libexec directory. I can't see a straightforward way around this. The best I can do for copying into an unversioned directory is to have the files copied to a subdirectory of the Lua files tree, but that is rather ugly. Hence for the present I will simply document this problem in the README, and ask for advice from the luarocks developers.
The 2.0.1 release should fix your problem (see the README). Unfortunately I can't get rid of the versioned directory, so instead I've introduced a script to print out the correct path, so you don't need to change your shell configuration each time you update cw. Thanks for the bug report!
Thank you, Reuben!
I just did an install via
luarocks
on Arch linux butlibexec
was actually a:Any idea why?
I don't like having a version in the path to the aliases - also means i need to change it when it updates?