anchor.diff:                              ok
                       end,
                       make_boot_script(State, Release, OutputDir, RelDir)
  -            end;
  -        _ ->
  -            make_boot_script(State, Release, OutputDir, RelDir)
  -    end.
  -
  +            end
  +    end.
   
   -spec make_boot_script(rlx_state:t(), rlx_release:t(), file:name(), file:name()) ->
                                 {ok, rlx_state:t()} | relx:error().
  
positive.code: make_tar(State, Release, OutputDir) ->
      Name = atom_to_list(rlx_release:name(Release)),
      Vsn = rlx_release:vsn(Release),
      Prefix = code:root_dir(),
      ErtsVersion = rlx_release:erts(Release),
      ErtsDir = filename:join([Prefix]),
      Opts = [{path, [filename:join([OutputDir, "lib", "*", "ebin"])]},
             {outdir, OutputDir} |
              case rlx_state:get(State, include_erts, true) of
                  true ->
                      [{erts, ErtsDir}];
                  false ->
                      []
              end],
      case systools:make_tar(filename:join([OutputDir, "releases", Vsn, Name]),
                             Opts) of
  
negative.code: -spec include_erts(rlx_state:t(), rlx_release:t(),  file:name(), file:name()) ->
                            {ok, rlx_state:t()} | relx:error().
  include_erts(State, Release, OutputDir, RelDir) ->
      Prefix = case rlx_state:get(State, include_erts, true) of
                   false ->
                       false;
                   true ->
                       code:root_dir();
                   P ->
                       filename:absname(P)
      end,
  
      case Prefix of
          false ->
              make_boot_script(State, Release, OutputDir, RelDir);
          _ ->
              ec_cmd_log:info(rlx_state:log(State),
                              "Including Erts from ~s~n", [Prefix]),
              ErtsVersion = rlx_release:erts(Release),
              ErtsDir = filename:join([Prefix, "erts-" ++ ErtsVersion]),
              LocalErts = filename:join([OutputDir, "erts-" ++ ErtsVersion]),
  