diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2019-03-14 21:59:18 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2019-03-14 23:19:39 -0300 |
commit | 83dceb3606505c226789e58ec7eb467da28ee204 (patch) | |
tree | 64d747f3bc33cb82efd25fa83aaeda5f6bca8afc /spec | |
parent | 26b22259dd5e9380a38e06577345918885eb5707 (diff) | |
download | luarocks-83dceb3606505c226789e58ec7eb467da28ee204.tar.gz luarocks-83dceb3606505c226789e58ec7eb467da28ee204.tar.bz2 luarocks-83dceb3606505c226789e58ec7eb467da28ee204.zip |
util: when bootstrapped, return self path as wrapper
Avoid reporting itself via the true path of the script; use
the wrapper instead. That is, instead of
```
Error: Argument missing. See '$HOME/.luarocks/lib/luarocks/rocks-5.3/luarocks/dev-1/bin/luarocks help install'.
```
report
```
Error: Argument missing. See '$HOME/.luarocks/bin/luarocks help install'.
```
See https://github.com/luarocks/luarocks/issues/952#issuecomment-449966779
Diffstat (limited to 'spec')
0 files changed, 0 insertions, 0 deletions