Skip to content

Commit

Permalink
Fix problem causing selector to download/compile curl
Browse files Browse the repository at this point in the history
  • Loading branch information
Monty Williams committed Jun 24, 2011
1 parent 7be3cea commit b434f79
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/selector
Expand Up @@ -156,7 +156,10 @@ __rvm_select()
rvm_ruby_version="head"
rvm_ruby_repo_url="${rvm_ruby_repo_url:-$(__rvm_db "maglev_repo_url")}"
rvm_ruby_url="${rvm_ruby_repo_url:-$(__rvm_db "maglev_repo_url")}"
rvm_gemstone_version="`/usr/bin/curl -s https://raw.github.com/MagLev/maglev/master/version.txt | awk -F- '/GEMSTONE/{print $NF}'`"
rvm_gemstone_version=$(
command curl -s https://raw.github.com/MagLev/maglev/master/version.txt |
grep ^GEMSTONE | cut -f2 -d-
)
rvm_gemstone_package_file="GemStone-${rvm_gemstone_version}.${system}-${arch}"
else
rvm_ruby_package_file="MagLev-${rvm_ruby_version}.${system}-${arch}"
Expand Down

0 comments on commit b434f79

Please sign in to comment.