scripts/rvm-install in rvm-1.0.2 vs scripts/rvm-install in rvm-1.0.3
- old
+ new
@@ -199,11 +199,11 @@
# Initial Interpreter Gemsets.
#
spinner
if [[ -d gemsets/ ]] ; then
\mkdir -p "$rvm_gemsets_path"
- for gemset_file in $(cd gemsets ; find \. -iname '*.gems' | sed 's/^\.\///') ; do
+ for gemset_file in $(builtin cd gemsets ; find \. -iname '*.gems' | sed 's/^\.\///') ; do
destination="$rvm_gemsets_path/$gemset_file"
destination_path="$(dirname "$destination")"
if [[ ! -s "$destination" ]] ; then
\mkdir -p "$destination_path"
\cp "gemsets/$gemset_file" "$destination"
@@ -212,11 +212,11 @@
fi
spinner
if [[ -d patchsets/ ]] ; then
\mkdir -p "$rvm_patchsets_path"
- for patchset_file in $(cd patchsets ; find \. -iname '*' | sed 's/^\.\///') ; do
+ for patchset_file in $(builtin cd patchsets ; find \. -iname '*' | sed 's/^\.\///') ; do
destination="$rvm_patchsets_path/$patchset_file"
destination_path="$(dirname "$destination")"
if [[ ! -s "$destination" ]] ; then
\mkdir -p "$destination_path"
\cp "patchsets/$patchset_file" "$destination"
@@ -316,9 +316,10 @@
if [[ "$upgrade_flag" -eq 1 ]] ; then
printf "\n$(tput setaf 6)Upgrade Notes\n"
printf "\n * 'rvm notes' tells you OS dependency packages for installing rubies."
printf "\n * If you encounter any issues with a ruby your best bet is to 'rvm remove X ; rvm install X' "
printf "\n * Gemset separator is '@' and will remain unless any rubies error using it."
+ printf "\n * If you wish to have the 'pretty colors' again, set 'export rvm_pretty_print=1' in ~/.rvmrc.\n"
printf "\n$(tput sgr0)\n"
check_rubyopt_conditions
printf "\nUpgrade of RVM in $rvm_path/ is complete.\n\n"
else
if [[ "$rvm_selfcontained" = "1" ]] ; then