diff options
author | Kenji Rikitake <[email protected]> | 2014-02-01 11:31:44 +0900 |
---|---|---|
committer | Kenji Rikitake <[email protected]> | 2014-02-01 11:31:44 +0900 |
commit | 6021f36231d6d25bf43eed66bd1d174a37823f6f (patch) | |
tree | 723be4a2b5f90a738a1576a88a1f8e60beac33d3 /kerl | |
parent | 9cf83c965f2318421f0f68c6328958ea0d846e48 (diff) | |
download | kerl-6021f36231d6d25bf43eed66bd1d174a37823f6f.tar.gz kerl-6021f36231d6d25bf43eed66bd1d174a37823f6f.tar.bz2 kerl-6021f36231d6d25bf43eed66bd1d174a37823f6f.zip |
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)
Diffstat (limited to 'kerl')
-rwxr-xr-x | kerl | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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() |