bin/ghp in ghp-0.0.7 vs bin/ghp in ghp-0.0.8

- old
+ new

@@ -34,12 +34,10 @@ end module Nanoc::DataSources module Filesystem def get_ghp_config - Dir.chdir(File.expand_path('../..', __FILE__).strip) { - Nanoc::Site.new('.').config - } + Nanoc::Site.new('.').config end def pathfind_file(in_dir = ".") (["./lib"] + $:).collect {|x| File.join(File.expand_path("..", x), in_dir) }.select {|x| File.directory? x }.each do |found_dir| yield found_dir