RiotGames/berkshelf — pull request #93 by lastobelus (2012-07-19 21:55:10+00:00)
Title: Fix nested git source

each berks install was putting a new copy of the cookbook inside ~/.berkshelf/cookbooks/some-cookbook-some-sha/

This is because

FileUtils.mv(tmp_clone, cb_path, force: true)

does NOT overwrite cb_path when cb_path is a directory, but puts tmp_clone INSIDE cb_path (same behaviour as unix mv)