diff options
author | mpeterv <mpeterval@gmail.com> | 2015-12-06 21:53:59 +0300 |
---|---|---|
committer | mpeterv <mpeterval@gmail.com> | 2015-12-06 21:57:32 +0300 |
commit | 515db853f6631e92b5950bcedf392db2d35e919a (patch) | |
tree | 651d49faf53dad4c837bad5bae9dbfc5e7392c4b /test | |
parent | bf12327a64400884b2be50c88cc8b223db57260c (diff) | |
download | luarocks-515db853f6631e92b5950bcedf392db2d35e919a.tar.gz luarocks-515db853f6631e92b5950bcedf392db2d35e919a.tar.bz2 luarocks-515db853f6631e92b5950bcedf392db2d35e919a.zip |
Fix find_program() in configure
which returns path to the program, not to the directory containing it.
That causes errors when configuring without --with-lua.
The fix is to apply 'dirname' if 'command -v' was a success.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions