scripts/cli in rvm-0.0.76 vs scripts/cli in rvm-0.0.77

- old
+ new

@@ -1,6 +1,6 @@ -#!/bin/bash +#!/usr/bin/env bash __rvm_meta() { rvm_meta_author="Wayne E. Seguin" rvm_meta_author_email="wayneeseguin@gmail.com" rvm_meta_website="http://rvm.beginrescueend.com/" @@ -15,11 +15,11 @@ if [[ ! -z "$(echo "$*" | awk '/trace/')" ]] ; then echo "$*" ; fi while [[ $# -gt 0 ]] ; do rvm_token="$1" ; shift case "$rvm_token" in - install|uninstall|path|info|setup|version|srcdir|list|reset|debug|reload|implode|readline|gemsync|update|iconv|openssl|ncurses|zlib|readline) + install|uninstall|path|info|setup|version|srcdir|list|reset|debug|reload|implode|readline|gemsync|update|iconv|curl|openssl|ncurses|zlib|readline) rvm_action=$rvm_token ;; use) rvm_action=$rvm_token @@ -374,10 +374,10 @@ ruby|gem|rake) __rvm_do ; result=$? ;; reload) source "$rvm_path/scripts/rvm" ;; install|uninstall) __rvm_manage_rubies ; result=$? ;; tests|specs) rvm_action="rake" ; __rvm_do ; result=$? ;; - iconv|openssl|ncurses|zlib|readline) + iconv|openssl|ncurses|zlib|readline|curl) __rvm_${rvm_action}_install result=$? ;; gemsync)