Permalink
Browse files

Update kerl

* Change get_releases() to accept the new naming scheme of
  `otp_src_MAJOR.MINOR.PATCH.tar.gz`, where MAJOR, MINOR, PATCH
  are all decimal letters and some additional letters in
  `[-0-9A-Za-z_.]` (see OTP-11615 on otp_src_17.0-rc1.tar.gz)
  • Loading branch information...
1 parent 9cf83c9 commit 6021f36231d6d25bf43eed66bd1d174a37823f6f @jj1bdx jj1bdx 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 6021f36

Please sign in to comment.