diff options
author | Joseph Wayne Norton <[email protected]> | 2013-02-01 10:11:55 +0900 |
---|---|---|
committer | Joseph Wayne Norton <[email protected]> | 2013-02-01 10:11:55 +0900 |
commit | a486403eeb4d8b7114f23b20d8b70cc061ba81ac (patch) | |
tree | a31e8371b2daa23da9faff92fa17bf8f8b80e58c /kerl | |
parent | 5c1fb7090e02ae46ea7317ba7044ab10f2bd8671 (diff) | |
download | kerl-a486403eeb4d8b7114f23b20d8b70cc061ba81ac.tar.gz kerl-a486403eeb4d8b7114f23b20d8b70cc061ba81ac.tar.bz2 kerl-a486403eeb4d8b7114f23b20d8b70cc061ba81ac.zip |
Expand regex for matching http://www.erlang.org/download releases
The previous regex did not match with the R16A release available for
download from the Erlang/OTP website.
Diffstat (limited to 'kerl')
-rwxr-xr-x | kerl | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -114,7 +114,7 @@ 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[-1234567890ABCD]+)\.tar\.gz\">.*$/\1/' \ + sed $SED_OPT -e 's/^.*<[aA] [hH][rR][eE][fF]=\"\/download\/otp_src_(R1[-0-9A-Za-z_]+)\.tar\.gz\">.*$/\1/' \ -e '/^R/!d' } |