Skip to content

Commit

Permalink
[Base] Support for relative cache roots
Browse files Browse the repository at this point in the history
Closes #1
  • Loading branch information
fabiopelosin committed Jul 31, 2013
1 parent ce03a14 commit b048436
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cocoapods-downloader/base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def cache_path
# @return [Pathname] The directory where the caches are stored.
#
def class_cache_dir
Pathname.new(File.expand_path(cache_root)) + name
Pathname.new(File.expand_path(Pathname.pwd + cache_root)) + name
end

# @return [Bool] Whether the downloader should use the cache.
Expand Down

0 comments on commit b048436

Please sign in to comment.