anchor.diff:  	print(S"Created LuaRocks command: $BINDIR\\"..c..".bat")
   end
   
  --- part below was commented out as its purpose was unclear
  --- see https://github.com/keplerproject/luarocks/pull/197#issuecomment-30176548
  -
  --- configure 'scripts' directory
  --- if vars.TREE_BIN then
  --- 	mkdir(vars.TREE_BIN)
  --- 	if not USE_MINGW then
  --- 		-- definitly not for MinGW because of conflicting runtimes
  --- 		-- but is it ok to do it for others???
  --- 		exec(S[[COPY lua5.1\bin\*.dll "$TREE_BIN" >NUL]])
  --- 	end
  --- else
  --- 	if not USE_MINGW then
  --- 	mkdir(S[[$TREE_ROOT\bin]])
  --- 		-- definitly not for MinGW because of conflicting runtimes
  --- 		-- but is it ok to do it for others???
  --- 		exec(S[[COPY lua5.1\bin\*.dll "$TREE_ROOT"\bin >NUL]])
  --- 	end
  --- 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
  -	exec(S([[RENAME "$LUADIR\luarocks\]]..site_config..[[.lua" site_config.lua.bak]]))
  +	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[=[
  
positive.code: 	return false
  end
  
  
  -- ***********************************************************
  -- Installer script start
  
negative.code: ]=])
  if FORCE_CONFIG then
  	f:write("site_config.LUAROCKS_FORCE_CONFIG=true\n")
  end
  f:write("return site_config\n")
  f:close()
  