From 7b9f90587062c863f8825f7a92e5b8d0d0322d5a Mon Sep 17 00:00:00 2001 From: Akash Manohar J Date: Sun, 30 Nov 2014 15:24:33 +0530 Subject: [PATCH] Update list of installable versions --- sources/erlang/install | 6 +++--- sources/erlang/list-all | 12 ++++++++++-- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/sources/erlang/install b/sources/erlang/install index 8bfea63d..a1ea5981 100755 --- a/sources/erlang/install +++ b/sources/erlang/install @@ -14,7 +14,7 @@ install_erlang() { cd $(dirname $source_path) tar zxf $source_path || exit 1 cd $(untar_path $install_type $version) - if [ "$install_type" -ne "version"] + if [ "$install_type" != "version" ] then ./otp_build autoconf || exit 1 fi @@ -29,7 +29,7 @@ untar_path() { local install_type=$1 local version=$2 - if [ "$install_type" -e "version" ] + if [ "$install_type" = "version" ] then echo "$TMPDIR/otp_src_${version}" else @@ -44,7 +44,7 @@ download_source() { local download_path=$(get_download_file_path $install_type $version) local download_url=$(get_download_url $install_type $version) - curl -Lo $download_path $download_url + curl -Lco $download_path $download_url } diff --git a/sources/erlang/list-all b/sources/erlang/list-all index 813ee68b..7e478ec8 100755 --- a/sources/erlang/list-all +++ b/sources/erlang/list-all @@ -1,11 +1,19 @@ #!/usr/bin/env sh versions=( - 17.3.4 17.3 - 17.2 17.1 17.0 + R16B03-1 + R16B03 + R16B02 + R16B01 + R16B + R16A + R15B03-1 + R15B02 + R15B01 + R15B ) for version in "${versions[@]}"