aboutsummaryrefslogtreecommitdiff
path: root/lfw/lua
diff options
context:
space:
mode:
authormpeterv <mpeterval@gmail.com>2015-10-17 10:46:44 +0300
committermpeterv <mpeterval@gmail.com>2015-10-17 11:44:42 +0300
commit7886cffec0721ecfb733384946d7a4399c43b897 (patch)
treec9ffa7086414a2bfe4a08358726c709d0e94a193 /lfw/lua
parent8fe1bbd627bae2da2d1b7d8e376a35ebf5626d2e (diff)
downloadluarocks-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