anchor.diff:  
   local function exec(cmd)
   	--print(cmd)
  -	local status = os.execute(cmd)
  +	local status = os.execute("type NUL && "..cmd)
   	return (status == 0 or status == true) -- compat 5.1/5.2
   end
   
  
positive.code: 	return false
  end
  
  
  -- ***********************************************************
  -- Installer script start
  
negative.code: 	print(S"Created LuaRocks command: $BINDIR\\"..c..".bat")
  end
  
  -- ***********************************************************
  -- Configure LuaRocks
  -- ***********************************************************
  
  restore_config_files()
  print()
  print("Configuring LuaRocks...")
  
  -- Create a site-config file
  local site_config = S("site_config_$LUA_VERSION"):gsub("%.","_")
  if exists(S([[$LUADIR\luarocks\]]..site_config..[[.lua]])) then
  	local nname = backup(S([[$LUADIR\luarocks\]]..site_config..[[.lua]]), site_config..".lua.bak")
  	print("***************")
  	print("*** WARNING *** LuaRocks site_config file already exists: '"..site_config..".lua'. The old file has been renamed to '"..nname.."'")
  	print("***************")
  end
  local f = io.open(vars.LUADIR.."\\luarocks\\"..site_config..".lua", "w")
  f:write(S[=[
  