RiotGames/berkshelf — pull request #142 by RoboticCheese (2012-09-28 13:50:50+00:00)
Title: Copy Cookbook Dir Contents Instead of Cookbook Dir Itself

I like the idea of keeping my cookbook and all its test deps separate from anything else on my system, so want to use ***ENV["BERKSHELF_PATH"] = ".berkshelf"*** and keep the .berkshelf dir in my project.

Only problem is that, when one does that, the recursive copy of the cookbook dir throws an exception for trying to copy a directory to itself. There are probably better means to work around this, but globbing the directory contents instead seems to be one option to allow it to work.