Skip to content

Commit

Permalink
o Enabling support for the now frequently used version numbers with
Browse files Browse the repository at this point in the history
  three digits.
  • Loading branch information
trygvis committed Aug 14, 2014
1 parent 1b281bc commit e8790cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build-package
Expand Up @@ -46,8 +46,8 @@ find_latest() {
echo "Finding latest version from $IDEA_URL ..."
read url filename version skip_the_rest < <(wget --max-redirect 5 -O - -q $IDEA_URL | LC_ALL=C sed -n -e "/.*\"\(http:\/\/.*\/idea$flavor-.*tar.gz\)\".*/ {
s,.*\"\(http:\/\/.*\/idea$flavor-.*tar.gz\)\".*,\1,p
s,.*\(ideaI.-[0-9]*.[0-9]*.tar.gz\).*,\1,p
s,.*-\([0-9]*.[0-9]*\).tar.gz,\1,p
s,.*\(ideaI.-[.0-9]*.tar.gz\).*,\1,p
s,.*-\([.0-9]*\).tar.gz,\1,p
}" | xargs)

if [ -z "$url" -o -z "$filename" -o -z "$version" ]
Expand Down

0 comments on commit e8790cd

Please sign in to comment.