aboutsummaryrefslogtreecommitdiffstats
path: root/kerl
diff options
context:
space:
mode:
authorYurii Rashkovskii <[email protected]>2014-01-31 18:35:33 -0800
committerYurii Rashkovskii <[email protected]>2014-01-31 18:35:33 -0800
commitf350e80171c1f4f004babe0a7186336ad7a14aa7 (patch)
tree723be4a2b5f90a738a1576a88a1f8e60beac33d3 /kerl
parent9cf83c965f2318421f0f68c6328958ea0d846e48 (diff)
parent6021f36231d6d25bf43eed66bd1d174a37823f6f (diff)
downloadkerl-f350e80171c1f4f004babe0a7186336ad7a14aa7.tar.gz
kerl-f350e80171c1f4f004babe0a7186336ad7a14aa7.tar.bz2
kerl-f350e80171c1f4f004babe0a7186336ad7a14aa7.zip
Merge pull request #61 from jj1bdx/jj1bdx-get-release-fix
Update kerl to accept new version numbering scheme since 17.0-rc1
Diffstat (limited to 'kerl')
-rwxr-xr-xkerl4
1 files changed, 2 insertions, 2 deletions
diff --git a/kerl b/kerl
index 012a02c..a6efde1 100755
--- a/kerl
+++ b/kerl
@@ -121,8 +121,8 @@ if [ $# -eq 0 ]; then usage; fi
get_releases()
{
curl -s $ERLANG_DOWNLOAD_URL/ | \
- sed $SED_OPT -e 's/^.*<[aA] [hH][rR][eE][fF]=\"\/download\/otp_src_(R1[-0-9A-Za-z_]+)\.tar\.gz\">.*$/\1/' \
- -e '/^R/!d'
+ 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'
}
update_checksum_file()