Merge pull request #5695 from dearblue/mrbc-build

Setting `Command#build` correctly in automatic "mrbc" build for presym
This commit is contained in:
Yukihiro "Matz" Matsumoto
2022-04-20 14:47:25 +09:00
committed by GitHub
+2 -1
View File
@@ -500,7 +500,8 @@ EOS
v = instance_variable_get(n)
v = case v
when nil, true, false, Numeric; v
when String, Command; v.clone
when String; v.clone
when Command; v.clone.tap { |u| u.build = build }
else Marshal.load(Marshal.dump(v)) # deep clone
end
build.instance_variable_set(n, v)