anchor.diff:  	print("Failed installing LuaRocks. Run with /? for help.")
   	os.exit(1)
   end
  +
  +function split_string(str, delim, maxNb)
  +	-- Eliminate bad cases...
  +	if string.find(str, delim) == nil then
  +		return { str }
  +	end
  +	if maxNb == nil or maxNb < 1 then
  +		maxNb = 0	 -- No limit
  +	end
  +	local result = {}
  +	local pat = "(.-)" .. delim .. "()"
  +	local nb = 0
  +	local lastPos
  +	for part, pos in string.gmatch(str, pat) do
  +		nb = nb + 1
  +		result[nb] = part
  +		lastPos = pos
  +		if nb == maxNb then break end
  +	end
  +	-- Handle the last field
  +	if nb ~= maxNb then
  +		result[nb + 1] = string.sub(str, lastPos)
  +	end
  +	return result
  +end
  +
   
   local function exec(cmd)
   	--print(cmd)
  
positive.code: 
  local function look_for_lua_install ()
  	print("Looking for Lua interpreter")
  	local directories = { [[c:\lua5.1.2]], [[c:\lua]], [[c:\kepler\1.1]] }
  	if vars.LUA_PREFIX then
  		table.insert(directories, 1, vars.LUA_PREFIX)
  	end
  	if vars.LUA_BINDIR and vars.LUA_LIBDIR and vars.LUA_INCDIR then
  		if look_for_interpreter(vars.LUA_BINDIR) and 
  
negative.code: System architecture detected as: $UNAME_M
  
  ]])
  
  
  -- ***********************************************************
  -- Install LuaRocks files
  