anchor.diff:                                          OldVer, Inst, OldVer])),
   
       ?CONSOLE("Generated appup for ~p~n", [App]),
  -    generate_appup_files(NewVerPath, OldVerPath, Rest);
  -generate_appup_files(_, _, []) ->
  +    generate_appup_files(NewVerPath, OldVerPath, ModDeps, Rest);
  +generate_appup_files(_, _, _, []) ->
       ?CONSOLE("Appup generation complete~n", []).
   
   generate_instruction(added, File) ->
  
positive.code:     UpgradeApps = genappup_which_apps(Upgraded, AppUpApps),
  
      %% Generate appup files for upgraded apps
      generate_appup_files(NewVerPath, OldVerPath, UpgradeApps),
  
      {ok, Config1}.
  
  
negative.code:     {AddedFiles, DeletedFiles, ChangedFiles} = beam_lib:cmp_dirs(NewEbinDir,
                                                                   OldEbinDir),
  
      ChangedNames = [list_to_atom(file_to_name(F)) || {F, _} <- ChangedFiles],
      ModDeps1 = [{N, [M1 || M1 <- M, lists:member(M1, ChangedNames)]}
                  || {N, M} <- ModDeps],
  
      Added = [generate_instruction(added, File) || File <- AddedFiles],
      Deleted = [generate_instruction(deleted, File) || File <- DeletedFiles],
      Changed = [generate_instruction(changed, ModDeps1, File)
                 || File <- ChangedFiles],
  
      Inst = lists:append([Added, Deleted, Changed]),
  
  