From f30fa41c2a01568eb87b0469f1a2871b7c9e9b68 Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Tue, 25 Sep 2012 15:37:53 -0300 Subject: Fix missing declaration to be used on Mac OSX systems, related to #94. --- src/luarocks/cfg.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/luarocks/cfg.lua b/src/luarocks/cfg.lua index 9c42361f..39bdbd70 100644 --- a/src/luarocks/cfg.lua +++ b/src/luarocks/cfg.lua @@ -10,8 +10,8 @@ -- (~/.luarocks/config.lua on Unix or %APPDATA%/luarocks/config.lua on -- Windows). -local rawset, next, table, pairs, require, io, os, setmetatable, pcall, ipairs, package, type, assert, _VERSION = - rawset, next, table, pairs, require, io, os, setmetatable, pcall, ipairs, package, type, assert, _VERSION +local rawset, next, table, pairs, require, io, os, setmetatable, pcall, ipairs, package, tonumber, type, assert, _VERSION = + rawset, next, table, pairs, require, io, os, setmetatable, pcall, ipairs, package, tonumber, type, assert, _VERSION module("luarocks.cfg") -- cgit v1.2.3-55-g6feb