[Groonga-commit] pgroonga/pgroonga at 104bb27 [master] package:yum:build: (maybe) fix wrong VM ID use case

Back to archive index

Kouhei Sutou null+****@clear*****
Sun Oct 23 00:44:10 JST 2016


Kouhei Sutou	2016-10-23 00:44:10 +0900 (Sun, 23 Oct 2016)

  New Revision: 104bb2764ecb5e5c3c85a03eacb430de0505645b
  https://github.com/pgroonga/pgroonga/commit/104bb2764ecb5e5c3c85a03eacb430de0505645b

  Message:
    package:yum:build: (maybe) fix wrong VM ID use case

  Modified files:
    Rakefile

  Modified: Rakefile (+3 -3)
===================================================================
--- Rakefile    2016-10-23 00:36:05 +0900 (2854e07)
+++ Rakefile    2016-10-23 00:44:10 +0900 (428c0f4)
@@ -257,9 +257,9 @@ postgresql#{postgresql_package_version}-devel
               next if postgresql_package_version == "96" and ver == "5"
               archs.each do |arch|
                 id = "#{distribution}-#{ver}-#{arch}"
-                threads << Thread.new do
-                  sh("vagrant", "up", id)
-                  sh("vagrant", "destroy", "--force", id)
+                threads << Thread.new(id) do |local_id|
+                  sh("vagrant", "up", local_id)
+                  sh("vagrant", "destroy", "--force", local_id)
                 end
               end
             end
-------------- next part --------------
HTML����������������������������...
Download 



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