Kouhei Sutou
null+****@clear*****
Mon Nov 25 23:49:32 JST 2013
Kouhei Sutou 2013-11-25 23:49:32 +0900 (Mon, 25 Nov 2013) New Revision: 8d5609999649ec3335db41c105901adde61bd663 https://github.com/droonga/drntest/commit/8d5609999649ec3335db41c105901adde61bd663 Message: Remove needless "which" If we get absolute path by "which", we use PATH environment variable. If we use PATH, we don't need to use absolute path. Modified files: lib/drntest/tester.rb Modified: lib/drntest/tester.rb (+1 -2) =================================================================== --- lib/drntest/tester.rb 2013-11-25 23:38:53 +0900 (1289614) +++ lib/drntest/tester.rb 2013-11-25 23:49:32 +0900 (0aaa6e3) @@ -89,8 +89,7 @@ module Drntest @tag = "droonga" @config = nil @catalog = nil - path_to_fluentd = `which fluentd`.strip - @fluentd = path_to_fluentd unless path_to_fluentd.empty? + @fluentd = "fluentd" @pattern = nil end -------------- next part -------------- HTML����������������������������...Download