aboutsummaryrefslogtreecommitdiffstats
path: root/kerl
diff options
context:
space:
mode:
Diffstat (limited to 'kerl')
-rwxr-xr-xkerl4
1 files changed, 3 insertions, 1 deletions
diff --git a/kerl b/kerl
index 8194468..6a2112e 100755
--- a/kerl
+++ b/kerl
@@ -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()