[Groonga-commit] groonga/heroku-buildpack-groonga at 9267d1a [master] Remove duplicated paths

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Jul 7 23:52:48 JST 2014


Kouhei Sutou	2014-07-07 23:52:48 +0900 (Mon, 07 Jul 2014)

  New Revision: 9267d1a20afbf6af0b2044e17a70dd608bec43a7
  https://github.com/groonga/heroku-buildpack-groonga/commit/9267d1a20afbf6af0b2044e17a70dd608bec43a7

  Message:
    Remove duplicated paths

  Modified files:
    bin/compile

  Modified: bin/compile (+1 -1)
===================================================================
--- bin/compile    2014-07-07 23:45:57 +0900 (8510e52)
+++ bin/compile    2014-07-07 23:52:48 +0900 (948c34a)
@@ -34,7 +34,7 @@ def load_environment_variables(env_dir)
 end
 
 def build_path_environment_value(paths)
-  paths.compact.join(File::PATH_SEPARATOR)
+  paths.compact.uniq.join(File::PATH_SEPARATOR)
 end
 
 def remove_needless_files(prefix)
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index