diff options
author | ILYA Khlopotov <[email protected]> | 2014-04-14 09:32:17 -0700 |
---|---|---|
committer | ILYA Khlopotov <[email protected]> | 2014-04-14 09:32:17 -0700 |
commit | ddf335067ec0c33cf2124782c5e11fa83c0d75d6 (patch) | |
tree | 16f52700a1e5a4a2cf82922d1a9b68913da40752 /kerl | |
parent | b146970f8f37cb8404a187c9cdf1b42e0d2cd61d (diff) | |
download | kerl-ddf335067ec0c33cf2124782c5e11fa83c0d75d6.tar.gz kerl-ddf335067ec0c33cf2124782c5e11fa83c0d75d6.tar.bz2 kerl-ddf335067ec0c33cf2124782c5e11fa83c0d75d6.zip |
Support new erlang's release naming convention when we get list of releases
Diffstat (limited to 'kerl')
-rwxr-xr-x | kerl | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -128,7 +128,9 @@ get_releases() { curl -L -s $ERLANG_DOWNLOAD_URL/ | \ sed $SED_OPT -e 's/^.*<[aA] [hH][rR][eE][fF]=\"\/download\/otp_src_([-0-9A-Za-z_.]+)\.tar\.gz\">.*$/\1/' \ - -e '/^R1|^[0-9]/!d' + -e '/^R1|^[0-9]/!d' | \ + sed -e "s/^R\(.*\)/\1:R\1/" | \ + sed -e "s/\([^:]*\)/\1:\1/" | sort | cut -d':' -f2 } update_checksum_file() |