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