Skip to content
Browse files

Tweak path logic slightly.

  • Loading branch information...
1 parent 82cba58 commit 9c7ccd9ad4f28f64e54a1ab26bf99106bc1014ec @wayneeseguin wayneeseguin committed
Showing with 6 additions and 4 deletions.
  1. +1 −1 scripts/manage
  2. +5 −3 scripts/utility
View
2 scripts/manage
@@ -30,7 +30,7 @@ __rvm_install_source() {
$rvm_scripts_path/log "error" "There has been an error, source directory is missing. Did the download or extraction fail? Aborting the installation." ; __rvm_pushpop ; return $result
fi
- if [[ -d "${rvm_path}/usr/bin" ]] ; then export PATH="${rvm_path}/usr/bin:${PATH}" ; fi
+ if [[ -d "${rvm_path}/usr" ]] ; then export PATH="${rvm_path}/usr/bin:${PATH}" ; fi
if [[ -z "$rvm_ruby_configure" ]] && [[ ! -s "$rvm_ruby_src_path/configure" ]] ; then
if which autoconf &> /dev/null ; then
View
8 scripts/utility
@@ -27,8 +27,9 @@ __rvm_info() {
if [[ ! -z "$(/usr/bin/which ruby 2>/dev/null)" ]] ; then full_version=$(ruby -v) ; fi
echo -e "system:\n uname: \"$(uname -a)\""
-if [[ ! -z "$ZSH_VERSION" ]] ; then echo -e " shell: \"zsh\"\n version: \"$ZSH_VERSION\"" ; fi
-if [[ ! -z "$BASH_VERSION" ]] ; then echo -e " shell: \"bash\"\n version: \"$BASH_VERSION\"" ; fi
+
+ if [[ ! -z "$ZSH_VERSION" ]] ; then echo -e " shell: \"zsh\"\n version: \"$ZSH_VERSION\"" ; fi
+ if [[ ! -z "$BASH_VERSION" ]] ; then echo -e " shell: \"bash\"\n version: \"$BASH_VERSION\"" ; fi
cat <<Info
@@ -58,7 +59,8 @@ environment:
IRBRC: "$IRBRC"
Info
-if [[ ! -z "$MAGLEV_HOME" ]] ; then echo -e " MAGLEV_HOME: \"$MAGLEV_HOME\"" ; fi
+
+ if [[ ! -z "$MAGLEV_HOME" ]] ; then echo -e " MAGLEV_HOME: \"$MAGLEV_HOME\"" ; fi
unset full_version
}

0 comments on commit 9c7ccd9

Please sign in to comment.
Something went wrong with that request. Please try again.