We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37c93a5 commit eb360f6Copy full SHA for eb360f6
lib/app_funcs.sh
@@ -14,10 +14,16 @@ function restore_app() {
14
function copy_hex() {
15
mkdir -p ${build_path}/.mix/archives
16
mkdir -p ${build_path}/.hex
17
+ hex_file=`basename ${hex_source:-hex-*.ez}`
18
- hex_file=`basename ${hex_source:-hex*.ez}`
19
+ # For older versions of hex which have no version name in file
20
+ if [ -z "$hex_file" ]; then
21
+ hex_file="hex.ez"
22
+ fi
23
24
cp ${HOME}/.hex/registry.ets ${build_path}/.hex/
25
+
26
+ output_section "Copying hex from $hex_file"
27
cp ${HOME}/.mix/archives/${hex_file} ${build_path}/.mix/archives
28
}
29
0 commit comments