anchor.diff:                          rcl_app_info:vsn_as_string(App), "ebin"]) ||
           App <- rcl_release:application_details(Release)].
   
  -bin_file_contents(RelName, RelVsn, ErtsVsn) ->
  +bin_file_contents(RelName, RelVsn, ErtsVsn, ErlOpts) ->
       [<<"#!/bin/sh
   
   set -e
  
positive.code: REL_VSN=">>, RelVsn, <<"
  ERTS_VSN=">>, ErtsVsn, <<"
  REL_DIR=$RELEASE_ROOT_DIR/releases/$REL_NAME-$REL_VSN
  
  ERTS_DIR=
  SYS_CONFIG=
  
negative.code:     ok = ec_file:mkdir_p(BinDir),
      VsnRel = filename:join(BinDir, RelName ++ "-" ++ RelVsn),
      BareRel = filename:join(BinDir, RelName),
      ErlOpts = rcl_state:get(State, erl_opts, ""),
      StartFile = bin_file_contents(RelName, RelVsn,
                                    rcl_release:erts(Release),
   ErlOpts),
      ok = file:write_file(VsnRel, StartFile),
      ok = file:change_mode(VsnRel, 8#777),
      ok = file:write_file(BareRel, StartFile),
  