Permalink
Browse files

Merge pull request #61 from jj1bdx/jj1bdx-get-release-fix

Update kerl to accept new version numbering scheme since 17.0-rc1
  • Loading branch information...
2 parents 9cf83c9 + 6021f36 commit f350e80171c1f4f004babe0a7186336ad7a14aa7 @yrashk yrashk committed Feb 1, 2014
Showing with 2 additions and 2 deletions.
  1. +2 −2 kerl
View
4 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()

0 comments on commit f350e80

Please sign in to comment.