Fixed cloning from github.

This commit is contained in:
Joshua Nichols
2010-03-18 23:45:34 -04:00
parent b80b132a7a
commit 8be582a4cb
2 changed files with 2 additions and 2 deletions

View File

@@ -21,7 +21,7 @@ class Homesick < Thor
empty_directory repos_dir, :verbose => false
inside repos_dir do
if uri =~ GITHUB_NAME_REPO_PATTERN
git_clone "git://github.com/#{$1}/#{$2}.git", "#{$1}_#{$2}"
git_clone "git://github.com/#{$1}/#{$2}.git", :destination => "#{$1}_#{$2}"
else
git_clone uri
end