Clone github repos into username/repo instead of username_repo, for more consistent use with symlink.

This commit is contained in:
Joshua Nichols
2010-04-01 21:08:36 -04:00
parent 923c634377
commit 5ac2a0739a
3 changed files with 3 additions and 2 deletions

View File

@@ -9,6 +9,7 @@ class Homesick
end
destination = Pathname.new(destination) unless destination.kind_of?(Pathname)
FileUtils.mkdir_p destination.dirname
if ! destination.directory?
say_status 'git clone', "#{repo} to #{destination.expand_path}", :green unless options[:quiet]