diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2015-03-24 01:02:51 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2015-03-24 01:02:51 -0300 |
commit | 57c838ec4d0a6dbd75ffe93b9bbf9679f52ed4d2 (patch) | |
tree | 65e66530363348180e077b7b79ae944dd7788d85 /src | |
parent | 5495f3c270712c1eb3e0c235f77fc50a24a30374 (diff) | |
parent | d3d74bf2d456b309fdf2a7a88f77862a14f7e7f6 (diff) | |
download | luarocks-57c838ec4d0a6dbd75ffe93b9bbf9679f52ed4d2.tar.gz luarocks-57c838ec4d0a6dbd75ffe93b9bbf9679f52ed4d2.tar.bz2 luarocks-57c838ec4d0a6dbd75ffe93b9bbf9679f52ed4d2.zip |
Merge branch 'master' of https://github.com/keplerproject/luarocks
Diffstat (limited to 'src')
-rw-r--r-- | src/luarocks/command_line.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/luarocks/command_line.lua b/src/luarocks/command_line.lua index 4ff22c6e..e35c14ab 100644 --- a/src/luarocks/command_line.lua +++ b/src/luarocks/command_line.lua | |||
@@ -193,7 +193,7 @@ function command_line.run_command(...) | |||
193 | end | 193 | end |
194 | end | 194 | end |
195 | 195 | ||
196 | if not fs.current_dir() then | 196 | if not fs.current_dir() or fs.current_dir() == "" then |
197 | die("Current directory does not exist. Please run LuaRocks from an existing directory.") | 197 | die("Current directory does not exist. Please run LuaRocks from an existing directory.") |
198 | end | 198 | end |
199 | 199 | ||