anchor.diff:      rlx_util:to_string(filename:join(filename:dirname(Name),
                                        filename:basename(Name, ".rel"))).
   
  -
   get_up_release(State, Release, Vsn) ->
       Name = rlx_release:name(Release),
       try
  
positive.code:                     erlang:atom_to_list(rlx_app_info:name(App)) ++ "-" ++
                          rlx_app_info:vsn_as_string(App), "ebin"]) ||
          App <- rlx_release:application_details(Release)].
  
  erl_script(ErtsVsn) ->
      [<<"#!/bin/sh
  
negative.code:                     include_erts(State, Release, OutputDir, RelDir)
              end
      end.
  
  %% @doc Optionally add erts directory to release, if defined.
  -spec include_erts(rlx_state:t(), rlx_release:t(),  file:name(), file:name()) -> {ok, rlx_state:t()} | relx:error().
  