opscode/chef — pull request #517 by danielsdeleo (2012-12-05 03:49:10+00:00)
Title: [CHEF-3663] Search for .chef in ENV[PWD] if set

Prefer ENV["PWD"] for current working dir, but fall back to Dir.pwd if
not set. Fixes config path searching when part of the path hierarchy is
a symlinked directory.