lib/rip/packages/git_package.rb in rip-0.0.2 vs lib/rip/packages/git_package.rb in rip-0.0.3
- old
+ new
@@ -35,10 +35,10 @@
if File.exists? cache_path
Dir.chdir cache_path do
git_fetch('origin')
end
else
- git_clone(source, cache_name)
+ git_clone(source, cache_path)
end
end
def unpack!
Dir.chdir cache_path do