lib/vx/builder/script_builder/go.rb in vx-builder-0.3.13 vs lib/vx/builder/script_builder/go.rb in vx-builder-0.3.14

- old
+ new

@@ -9,12 +9,11 @@ def call(env) if enabled?(env) do_before_install(env) do |i| vxvm_install = "sudo vxvm install go #{go_version env}" - i << trace_sh_command(vxvm_install) - i << %{VX_VM_EVAL="$(#{vxvm_install}"} - i << %{eval "$VX_VM_EVAL"} + i << trace_sh_command(%{VX_VM_SOURCE="$(#{vxvm_install})"}, trace: vxvm_install) + i << %{source "$VX_VM_SOURCE"} i << trace_sh_command('export GOPATH=$VX_ROOT/gopath') i << trace_sh_command('export PATH=$GOPATH/bin:$PATH') i << trace_sh_command('export VX_ORIG_CODE_ROOT=$(pwd)') i << trace_sh_command('export VX_NEW_CODE_ROOT=$GOPATH/src/vexor.io/$CI_PROJECT_NAME')