lib/berkshelf/file_syncer.rb in berkshelf-3.2.1 vs lib/berkshelf/file_syncer.rb in berkshelf-3.2.2

- old
+ new

@@ -79,9 +79,10 @@ when :directory FileUtils.mkdir_p("#{destination}/#{relative_path}") when :link target = File.readlink(source_file) + destination = File.expand_path(destination) Dir.chdir(destination) do FileUtils.ln_sf(target, "#{destination}/#{relative_path}") end when :file FileUtils.cp(source_file, "#{destination}/#{relative_path}")