Skip to content

Commit

Permalink
Try that Pistos.
Browse files Browse the repository at this point in the history
  • Loading branch information
wayneeseguin committed Mar 4, 2010
1 parent e777b89 commit 3f9d06f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/utility
Original file line number Diff line number Diff line change
Expand Up @@ -680,11 +680,11 @@ __rvm_gemset_select() {
if [[ ! -d "$rvm_gems_cache_path" ]] ; then
mkdir -p $rvm_gems_cache_path
fi
if [[ "$rvm_gems_cache_path" != "$rvm_gems_path/cache" ]] ; then
if [[ "$rvm_gems_cache_path" != "$rvm_gems_path/cache" ]] && [[ "$rvm_gems_cache_path" =~ $HOME ]] ; then
rm -f "$rvm_gems_path/cache"
ln -nfs "$rvm_gems_cache_path" "$rvm_gems_path/cache"
chmod u+w "$rvm_gems_cache_path"
fi
chmod u+w "$rvm_gems_cache_path"
fi
# /TODO

Expand Down

0 comments on commit 3f9d06f

Please sign in to comment.