diff options
author | mpeterv <mpeterval@gmail.com> | 2015-10-17 10:46:44 +0300 |
---|---|---|
committer | mpeterv <mpeterval@gmail.com> | 2015-10-17 11:44:42 +0300 |
commit | 7886cffec0721ecfb733384946d7a4399c43b897 (patch) | |
tree | c9ffa7086414a2bfe4a08358726c709d0e94a193 /lfw/lua | |
parent | 8fe1bbd627bae2da2d1b7d8e376a35ebf5626d2e (diff) | |
download | luarocks-7886cffec0721ecfb733384946d7a4399c43b897.tar.gz luarocks-7886cffec0721ecfb733384946d7a4399c43b897.tar.bz2 luarocks-7886cffec0721ecfb733384946d7a4399c43b897.zip |
Fix patch error message when source is different
check_patched() relies on throwing and catching string 'nomatch'.
Pass 0 as the second argument for error() when throwing to avoid
location info being added to the message.
Fixes lack of error when patch should fail with "source is different" error.
Diffstat (limited to 'lfw/lua')
0 files changed, 0 insertions, 0 deletions