ext/build_funchook.rb in contrast-agent-3.9.0 vs ext/build_funchook.rb in contrast-agent-3.9.1

- old
+ new

@@ -10,14 +10,14 @@ COMMANDS = ['./autogen.sh', './configure', 'make clean', 'make'].freeze bundler_install_target_paths = [] possible_gem_paths = Gem.path # .path and .paths diverge in their return type - .path returns strings, .paths returns PathSupports possible_gem_paths.each do |base_path| - contrast_gem_dir_search = File.join(base_path, '**', '*', 'contrast-agent-*') + contrast_gem_dir_search = File.join(base_path, 'extensions', '**', '*', 'contrast-agent-*') extension_paths = Dir[contrast_gem_dir_search] extension_paths.map! do |extension_path| target_path = File.join(extension_path, 'shared_libraries') - FileUtils.mkdir_p(target_path) + FileUtils.mkdir_p(target_path) unless File.exist?(target_path) target_path end bundler_install_target_paths += extension_paths end