mirror of
https://github.com/asdf-vm/asdf.git
synced 2024-11-15 01:28:17 -07:00
Update list of installable versions
This commit is contained in:
parent
879d8fa5f5
commit
7b9f905870
@ -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
|
||||
}
|
||||
|
||||
|
||||
|
@ -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[@]}"
|
||||
|
Loading…
Reference in New Issue
Block a user