anchor.diff:              %% Archive was successfully created. Prefix that binary with our
               %% header and write to our escript file
               Script = <<"#!/usr/bin/env escript\n", ZipBin/binary>>,
  -            case file:write_file(AppName, Script) of
  +            case file:write_file(Filename, Script) of
                   ok ->
                       ok;
                   {error, WriteError} ->
  
positive.code: %% ===================================================================
  
  escriptize(Config, AppFile) ->
      %% Extract the application name from the archive -- this will be be what
      %% we call the output script
      AppName = rebar_app_utils:app_name(AppFile),
  
      %% Look for a list of other applications (dependencies) to include
      %% in the output file. We then use the .app files for each of these
  
negative.code: %% -------------------------------------------------------------------
  -module(rebar_escripter).
  
  -export([escriptize/2,
           clean/2]).
  
  -include("rebar.hrl").
  
  