aboutsummaryrefslogtreecommitdiffstats
path: root/kerl
diff options
context:
space:
mode:
authorJoseph Wayne Norton <[email protected]>2013-02-01 10:11:55 +0900
committerJoseph Wayne Norton <[email protected]>2013-02-01 10:11:55 +0900
commita486403eeb4d8b7114f23b20d8b70cc061ba81ac (patch)
treea31e8371b2daa23da9faff92fa17bf8f8b80e58c /kerl
parent5c1fb7090e02ae46ea7317ba7044ab10f2bd8671 (diff)
downloadkerl-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-xkerl2
1 files changed, 1 insertions, 1 deletions
diff --git a/kerl b/kerl
index 0e101bf..f9e1e3f 100755
--- a/kerl
+++ b/kerl
@@ -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'
}