diff options
| author | Peter Melnichenko <mpeterval@gmail.com> | 2016-10-28 15:26:35 +0300 |
|---|---|---|
| committer | Peter Melnichenko <mpeterval@gmail.com> | 2016-10-28 15:37:15 +0300 |
| commit | 51aa62b855241a12866d3d008e7019689c24d130 (patch) | |
| tree | b8a113f81539b93d90a827b872f4258cfd5f9371 /spec/make_spec.lua | |
| parent | 50b5755d3e9a2c6b2040d2d167accd02208ec687 (diff) | |
| download | luarocks-51aa62b855241a12866d3d008e7019689c24d130.tar.gz luarocks-51aa62b855241a12866d3d008e7019689c24d130.tar.bz2 luarocks-51aa62b855241a12866d3d008e7019689c24d130.zip | |
Fix absolute path detection on Windows
Do not use "^[%.a-zA-Z]?:?[\\/]" as a pattern when checking if
a path is absolute on Windows. Check if there is a
directory separator after an optional drive letter instead.
Diffstat (limited to 'spec/make_spec.lua')
0 files changed, 0 insertions, 0 deletions
