aboutsummaryrefslogtreecommitdiffstats
path: root/src/rlx_prv_assembler.erl
diff options
context:
space:
mode:
authorEric <[email protected]>2013-10-28 14:11:51 -0700
committerEric <[email protected]>2013-10-28 14:11:51 -0700
commit7a1083d2a881b511e202edd0e2ff2b207e23ae5b (patch)
tree007b507875004456935bc006acfa781b0eae87a2 /src/rlx_prv_assembler.erl
parent0f5ffc5df74ff5c308ee3d1dc657e20edc4f1cb8 (diff)
downloadrelx-7a1083d2a881b511e202edd0e2ff2b207e23ae5b.tar.gz
relx-7a1083d2a881b511e202edd0e2ff2b207e23ae5b.tar.bz2
relx-7a1083d2a881b511e202edd0e2ff2b207e23ae5b.zip
support using the original app vsn as a string not the parsed vsn
Diffstat (limited to 'src/rlx_prv_assembler.erl')
-rw-r--r--src/rlx_prv_assembler.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rlx_prv_assembler.erl b/src/rlx_prv_assembler.erl
index 8a60f52..ee5854a 100644
--- a/src/rlx_prv_assembler.erl
+++ b/src/rlx_prv_assembler.erl
@@ -193,7 +193,7 @@ prepare_applications(State, Apps) ->
copy_app(LibDir, App) ->
AppName = erlang:atom_to_list(rlx_app_info:name(App)),
- AppVsn = rlx_app_info:vsn_as_string(App),
+ AppVsn = rlx_app_info:original_vsn(App),
AppDir = rlx_app_info:dir(App),
TargetDir = filename:join([LibDir, AppName ++ "-" ++ AppVsn]),
if
@@ -614,7 +614,7 @@ get_code_paths(Release, OutDir) ->
LibDir = filename:join(OutDir, "lib"),
[filename:join([LibDir,
erlang:atom_to_list(rlx_app_info:name(App)) ++ "-" ++
- rlx_app_info:vsn_as_string(App), "ebin"]) ||
+ rlx_app_info:original_vsn(App), "ebin"]) ||
App <- rlx_release:application_details(Release)].
unless_exists_write_default(Path, File) ->