Skip to content

Commit

Permalink
Improved output for gemset empty.
Browse files Browse the repository at this point in the history
  • Loading branch information
wayneeseguin committed Apr 13, 2010
1 parent 5258108 commit 138c9b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/gemsets
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ __rvm_gemset_empty() {
if [[ -d "$gemdir" ]] && [[ "$gemdir" != '/' ]] && [[ ! -z "$rvm_force_flag" ]] ; then if [[ -d "$gemdir" ]] && [[ "$gemdir" != '/' ]] && [[ ! -z "$rvm_force_flag" ]] ; then
cd $gemdir && rm -rf ./bin/* ./doc/* ./gems/* ./specifications/* cd $gemdir && rm -rf ./bin/* ./doc/* ./gems/* ./specifications/*
elif [[ -d "$gemdir" ]] ; then elif [[ -d "$gemdir" ]] ; then
$rvm_scripts_path/log "warn" "Are you SURE you wish to remove the installed gemset for gemset '${rvm_gemset_separator}$rvm_gemset_name' ($gemdir)?" $rvm_scripts_path/log "warn" "Are you SURE you wish to remove the installed gemset for gemset '$(basename $gemdir)' ($gemdir)?"
echo -n "(anything other than 'yes' will cancel) > " echo -n "(anything other than 'yes' will cancel) > "
read response read response
if [[ "yes" = "$response" ]] ; then if [[ "yes" = "$response" ]] ; then
Expand Down

0 comments on commit 138c9b6

Please sign in to comment.