summaryrefslogtreecommitdiff
path: root/src/rebar_appups.erl
diff options
context:
space:
mode:
authorKirill Pinchuk <k_pinchuk@wargaming.net>2014-05-06 07:32:31 +0300
committerKirill Pinchuk <k_pinchuk@wargaming.net>2014-05-30 21:24:32 +0300
commitedfe818a19597736108841c58e3a1426302634cc (patch)
tree87d4b16390ac3c2e4d8dc4c6986e041b6da6d906 /src/rebar_appups.erl
parent7936f9e873beb5887a8a81c24bdcbe09de3dd337 (diff)
downloadrebar-edfe818a19597736108841c58e3a1426302634cc.tar.gz
Use target_dir as source of new version in generate-appups
Diffstat (limited to 'src/rebar_appups.erl')
-rw-r--r--src/rebar_appups.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_appups.erl b/src/rebar_appups.erl
index a51c30d..7f52ccf 100644
--- a/src/rebar_appups.erl
+++ b/src/rebar_appups.erl
@@ -54,7 +54,7 @@
%% Get the new and old release name and versions
{Name, _Ver} = rebar_rel_utils:get_reltool_release_info(ReltoolConfig),
- NewVerPath = filename:join([TargetParentDir, Name]),
+ NewVerPath = rebar_rel_utils:get_target_dir(Config, ReltoolConfig),
{NewName, NewVer} = rebar_rel_utils:get_rel_release_info(Name, NewVerPath),
{OldName, OldVer} = rebar_rel_utils:get_rel_release_info(Name, OldVerPath),