aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYurii Rashkovskii <[email protected]>2013-01-31 17:30:08 -0800
committerYurii Rashkovskii <[email protected]>2013-01-31 17:30:08 -0800
commita15b5e63c6d26b058dab46dc48125370c48f1f04 (patch)
treea31e8371b2daa23da9faff92fa17bf8f8b80e58c
parent5c1fb7090e02ae46ea7317ba7044ab10f2bd8671 (diff)
parenta486403eeb4d8b7114f23b20d8b70cc061ba81ac (diff)
downloadkerl-a15b5e63c6d26b058dab46dc48125370c48f1f04.tar.gz
kerl-a15b5e63c6d26b058dab46dc48125370c48f1f04.tar.bz2
kerl-a15b5e63c6d26b058dab46dc48125370c48f1f04.zip
Merge pull request #39 from norton/norton-sed
Expand regex for matching http://www.erlang.org/download releases
-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'
}