diff options
| -rw-r--r-- | src/luarocks/fs/unix.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/luarocks/fs/unix.lua b/src/luarocks/fs/unix.lua index e4f14d52..eb7d870b 100644 --- a/src/luarocks/fs/unix.lua +++ b/src/luarocks/fs/unix.lua | |||
| @@ -208,7 +208,7 @@ end | |||
| 208 | 208 | ||
| 209 | function unix.is_dir(file) | 209 | function unix.is_dir(file) |
| 210 | file = fs.absolute_name(file) | 210 | file = fs.absolute_name(file) |
| 211 | file = dir.normalize(file) .. "/" | 211 | file = dir.normalize(file) .. "/." |
| 212 | local fd, _, code = io.open(file, "r") | 212 | local fd, _, code = io.open(file, "r") |
| 213 | if code == 2 then -- "No such file or directory" | 213 | if code == 2 then -- "No such file or directory" |
| 214 | return false | 214 | return false |
