Kouhei Sutou
null+****@clear*****
Mon Nov 13 21:52:15 JST 2017
Kouhei Sutou 2017-11-13 21:52:15 +0900 (Mon, 13 Nov 2017) New Revision: 4a7d69216b10b47ad5a0c70c4858bf4d7e253c60 https://github.com/groonga/groonga/commit/4a7d69216b10b47ad5a0c70c4858bf4d7e253c60 Message: test: libtool doesn't add "lt-" prefix? Modified files: test/command_line/helper/command_runner.rb Modified: test/command_line/helper/command_runner.rb (+5 -2) =================================================================== --- test/command_line/helper/command_runner.rb 2017-11-13 17:13:29 +0900 (6d711373b) +++ test/command_line/helper/command_runner.rb 2017-11-13 21:52:15 +0900 (15d0befb1) @@ -72,8 +72,11 @@ module CommandRunner def find_program(name) ENV["PATH"].split(File::PATH_SEPARATOR).each do |path| - lt_program_path = File.join(path, ".libs", "lt-#{name}") - return lt_program_path if File.exist?(lt_program_path) + libs_lt_program_path = File.join(path, ".libs", "lt-#{name}") + return libs_lt_program_path if File.exist?(libs_lt_program_path) + + libs_program_path = File.join(path, ".libs", name) + return libs_program_path if File.exist?(libs_program_path) program_path = File.join(path, name) return program_path if File.exist?(program_path) -------------- next part -------------- HTML����������������������������... URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20171113/4f93ea33/attachment-0001.htm