anchor.diff:  -include("rlx_log.hrl").
   
   make_tar(Release, OutputDir, State) ->
  -    Name = atom_to_list(rlx_release:name(Release)),
  +    Name = rlx_release:name(Release),
       Vsn = rlx_release:vsn(Release),
       ErtsVersion = rlx_release:erts(Release),
       Opts = [{path, [filename:join([OutputDir, "lib", "*", "ebin"])]},
  
positive.code:             {outdir, OutputDir} |
              case rlx_state:get(State, include_erts, true) of
                  true ->
                      Prefix = code:root_dir(),
                      ErtsDir = filename:join([Prefix]),
                      [{erts, ErtsDir}];
                  false ->
                      [];
                  Prefix ->
                      ErtsDir = filename:join([Prefix]),
                      [{erts, ErtsDir}]
              end],
      case systools:make_tar(filename:join([OutputDir, "releases", Vsn, Name]),
                             Opts) of
          ok ->
              TempDir = rlx_file_utils:mkdtemp(),
              try
  
negative.code: update_tar(Release, State, TempDir, OutputDir, Name, Vsn, ErtsVersion) ->
      IncludeErts = rlx_state:get(State, include_erts, true),
      SystemLibs = rlx_state:get(State, system_libs, IncludeErts),
      TarFile = filename:join(OutputDir, [Name, "-", Vsn, ".tar.gz"]),
      file:rename(filename:join(OutputDir, [Name, ".tar.gz"]), TarFile),
      erl_tar:extract(TarFile, [{cwd, TempDir}, compressed]),
      OverlayVars = rlx_overlay:generate_overlay_vars(State, Release),
      OverlayFiles = overlay_files(OverlayVars, rlx_state:get(State, overlay, undefined), OutputDir),
  