[groonga-commit:1061] ranguba/rroonga [master] File::PATH_SEPARATOR is worth to use.
null+ranguba at clear-code.com
null+ranguba at clear-code.com
Sun Jul 11 22:05:40 EDT 2010
Nobuyoshi Nakada 2010-07-12 02:05:40 +0000 (Mon, 12 Jul 2010)
New Revision: 2909d226dd7d6a1fa0554c860122cedb2d652084
Log:
File::PATH_SEPARATOR is worth to use.
Modified files:
lib/groonga.rb
Modified: lib/groonga.rb (+1 -6)
===================================================================
--- lib/groonga.rb 2010-07-12 01:54:26 +0000 (7a2481d)
+++ lib/groonga.rb 2010-07-12 02:05:40 +0000 (1a290b2)
@@ -31,12 +31,7 @@ if local_groonga_bin_dir.exist?
end
end
- case RUBY_PLATFORM
- when /mingw|mswin/
- prepend_path.call("PATH", ";")
- when /cygwin/
- prepend_path.call("PATH", ":")
- end
+ prepend_path.call("PATH", File::PATH_SEPARATOR)
end
require 'groonga/view-record'
More information about the groonga-commit
mailing list