diff options
| author | Hisham Muhammad <hisham@gobolinux.org> | 2012-05-07 18:24:26 -0300 |
|---|---|---|
| committer | Hisham Muhammad <hisham@gobolinux.org> | 2012-05-07 18:24:26 -0300 |
| commit | c9cf412a181c19f76275d1197f123350fbcfe2f5 (patch) | |
| tree | 3a5df1ea02b9e6d4955e2b75bfe0264dc34c3500 /src | |
| parent | 5e61fb7884ae23f9f44cd424c957ab583ba25786 (diff) | |
| download | luarocks-c9cf412a181c19f76275d1197f123350fbcfe2f5.tar.gz luarocks-c9cf412a181c19f76275d1197f123350fbcfe2f5.tar.bz2 luarocks-c9cf412a181c19f76275d1197f123350fbcfe2f5.zip | |
avoid accepting directories, suggested by Themroc@github
Diffstat (limited to 'src')
| -rw-r--r-- | src/luarocks/deps.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/luarocks/deps.lua b/src/luarocks/deps.lua index 194e0e7e..a669ad66 100644 --- a/src/luarocks/deps.lua +++ b/src/luarocks/deps.lua | |||
| @@ -568,7 +568,7 @@ function check_external_deps(rockspec, mode) | |||
| 568 | end | 568 | end |
| 569 | end | 569 | end |
| 570 | else | 570 | else |
| 571 | found = fs.exists(dir.path(dirdata.dir, f)) | 571 | found = fs.is_file(dir.path(dirdata.dir, f)) |
| 572 | end | 572 | end |
| 573 | if found then | 573 | if found then |
| 574 | break | 574 | break |
