Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/app_funcs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function copy_hex() {
cp -R ${HOME}/.hex/* ${build_path}/.hex/

output_section "Copying hex from $full_hex_file_path"
cp -R $full_hex_file_path ${build_path}/.mix/archives
cp -f -R $full_hex_file_path ${build_path}/.mix/archives
}

function hook_pre_app_dependencies() {
Expand Down
7 changes: 3 additions & 4 deletions lib/erlang_funcs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,11 @@ function install_erlang() {
tar zxf ${cache_path}/$(erlang_tarball) -C $(erlang_build_path) --strip-components=1

rm -rf $(runtime_erlang_path)
mkdir -p $(runtime_platform_tools_path)
ln -s $(erlang_build_path) $(runtime_erlang_path)
mkdir -p $(runtime_erlang_path)
cp -R $(erlang_build_path)/* $(runtime_erlang_path)
$(erlang_build_path)/Install -minimal $(runtime_erlang_path)

cp -R $(erlang_build_path) $(erlang_path)
PATH=$(erlang_path)/bin:$PATH
PATH=$(runtime_erlang_path)/bin:$PATH
}

function erlang_changed() {
Expand Down