Kouhei Sutou
null+****@clear*****
Mon Jul 7 23:53:05 JST 2014
Kouhei Sutou 2014-07-07 23:53:05 +0900 (Mon, 07 Jul 2014) New Revision: 4f54f7a6194c14e892d4be91c2a765cbe88668b6 https://github.com/groonga/heroku-buildpack-groonga/commit/4f54f7a6194c14e892d4be91c2a765cbe88668b6 Message: Use print instead of write Because we use puts. Modified files: bin/compile Modified: bin/compile (+2 -2) =================================================================== --- bin/compile 2014-07-07 23:52:48 +0900 (948c34a) +++ bin/compile 2014-07-07 23:53:05 +0900 (3ae2c5d) @@ -107,7 +107,7 @@ Dir.chdir(build_dir) do puts("-----> Setting environment variables") open("#{env_dir}/LD_LIBRARY_PATH", "w") do |env_file| - env_file.write(ENV["LD_LIBRARY_PATH"]) + env_file.print(ENV["LD_LIBRARY_PATH"]) end open("#{env_dir}/PKG_CONFIG_PATH", "w") do |env_file| pkg_config_paths = [ @@ -115,7 +115,7 @@ Dir.chdir(build_dir) do environment_variables["PKG_CONFIG_PATH"], ENV["PKG_CONFIG_PATH"] ] - env_file.write(build_path_environment_value(pkg_config_paths)) + env_file.print(build_path_environment_value(pkg_config_paths)) end app_dir = ENV["HOME"] -------------- next part -------------- HTML����������������������������...Download