Skip to content

Instantly share code, notes, and snippets.

@tdx
Created July 11, 2011 05:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tdx/1075350 to your computer and use it in GitHub Desktop.
Save tdx/1075350 to your computer and use it in GitHub Desktop.
#90 pull request bug
diff --git a/src/rebar_appups.erl b/src/rebar_appups.erl
index acd4aa4..1173748 100644
--- a/src/rebar_appups.erl
+++ b/src/rebar_appups.erl
@@ -47,7 +47,7 @@
rebar_rel_utils:get_previous_release_path()]),
%% Get the new and old release name and versions
- {Name, _Ver} = rebar_rel_utils:get_reltool_release_info(ReltoolFile),
+ {Name, _Ver} = rebar_rel_utils:get_reltool_release_info(ReltoolConfig),
NewVerPath = filename:join([TargetParentDir, Name]),
{NewName, NewVer} = rebar_rel_utils:get_rel_release_info(Name, NewVerPath),
{OldName, OldVer} = rebar_rel_utils:get_rel_release_info(Name, OldVerPath),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment