diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2013-10-12 13:09:59 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2013-10-12 13:09:59 -0300 |
commit | 67d8a8a0d0b1b275f33805c069ff6b1429760aeb (patch) | |
tree | 2af61752619fd026843f77c8197a4bad418bd30e | |
parent | 57bde51526bcd9c022e29802f29ae432a3a03bef (diff) | |
download | luarocks-67d8a8a0d0b1b275f33805c069ff6b1429760aeb.tar.gz luarocks-67d8a8a0d0b1b275f33805c069ff6b1429760aeb.tar.bz2 luarocks-67d8a8a0d0b1b275f33805c069ff6b1429760aeb.zip |
Fix version test.
Thanks @siffiejoe for the heads up!
-rw-r--r-- | src/luarocks/write_rockspec.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/luarocks/write_rockspec.lua b/src/luarocks/write_rockspec.lua index 68547cdf..9c20a054 100644 --- a/src/luarocks/write_rockspec.lua +++ b/src/luarocks/write_rockspec.lua | |||
@@ -68,7 +68,7 @@ local function configure_lua_version(rockspec, luaver) | |||
68 | elseif luaver == "5.2" then | 68 | elseif luaver == "5.2" then |
69 | table.insert(rockspec.dependencies, "lua ~> 5.2") | 69 | table.insert(rockspec.dependencies, "lua ~> 5.2") |
70 | elseif luaver == "5.1,5.2" then | 70 | elseif luaver == "5.1,5.2" then |
71 | table.insert(rockspec.dependencies, "lua >= 5.1, <= 5.3") | 71 | table.insert(rockspec.dependencies, "lua >= 5.1, < 5.3") |
72 | else | 72 | else |
73 | util.warning("Please specify supported Lua version with --lua-version=<ver>. "..util.see_help("write_rockspec")) | 73 | util.warning("Please specify supported Lua version with --lua-version=<ver>. "..util.see_help("write_rockspec")) |
74 | end | 74 | end |