Permalink
Browse files

Bugfix: export configure flags for manage script.

  • Loading branch information...
1 parent 995c577 commit de8df2a44e502cd8f97f54ada46b2603f08f8957 @wayneeseguin wayneeseguin committed Dec 11, 2009
Showing with 2 additions and 4 deletions.
  1. +0 −2 scripts/array
  2. +1 −1 scripts/cli
  3. +1 −1 scripts/rvm
View
@@ -1,7 +1,5 @@
#!/usr/bin/env bash
-if [[ -z "$rvm_trace_flag" ]] ; then set +x ; else set -x ; fi
-
if [[ ! -z "$ZSH_VERSION" ]] ; then __array_start=1 ; else __array_start=0 ; fi
# Usage: contains "a_string" "${an_array[@]}"
View
@@ -205,7 +205,7 @@ __rvm_parse_args() {
-C|--configure)
if [[ ! -z "$1" ]] ; then
- rvm_ruby_configure_flags="$(echo $1 | tr ',' ' ')"
+ export rvm_ruby_configure_flags="$(echo $1 | tr ',' ' ')"
shift
else
rvm_action="error"
View
@@ -37,6 +37,6 @@ if [[ "$rvm_loaded_flag" != "1" ]] || [[ "$rvm_reload_flag" = "1" ]] ; then
alias rvm-restart="source '${rvm_path}/scripts/rvm'"
- if [[ -f "$rvm_path/default" ]] ; then source "$rvm_path/default" ; fi
+ if [[ -s "$rvm_path/default" ]] ; then source "$rvm_path/default" ; fi
fi

0 comments on commit de8df2a

Please sign in to comment.