anchor.diff:            Name
     end.
   
  -validate_rel_apps(ReltoolServer, ReltoolConfig) ->
  +validate_rel_apps(ReltoolServer, {sys, ReltoolConfig}) ->
       case lists:keysearch(rel, 1, ReltoolConfig) of
           {value, {rel, _Name, _Vsn, Apps}} ->
               %% Identify all the apps that do NOT exist, based on what's available
  
positive.code: %% ===================================================================
  %% Internal functions
  %% ===================================================================
  
  load_config(ReltoolFile) ->
      %% Load the reltool configuration from the file
      case file:consult(ReltoolFile) of
          {ok, [{sys, ReltoolConfig}]} ->
              ReltoolConfig;
          Other ->
              ?ERROR("Failed to load expected config from ~s: ~p\n", [ReltoolFile, Other]),
              ?FAIL
  
negative.code:             ?ERROR("Unable to generate spec: ~s\n", [Reason]),
              ?FAIL
      end.
  
  
  mk_target_dir(TargetDir) ->
      case file:make_dir(TargetDir) of
          ok ->
              ok;
          {error, eexist} ->
              %% Output directory already exists; if force=1, wipe it out
              case rebar_config:get_global(force, "0") of
                  "1" ->
                      rebar_file_utils:rm_rf(TargetDir),
                      ok = file:make_dir(TargetDir);
                  _ ->
                      ?ERROR("Release target directory ~p already exists!\n", [TargetDir]),
                      ?FAIL
              end
      end.               
      
  
  dump_spec(Spec) ->
  