lib/vx/builder/script_builder/go.rb in vx-builder-0.3.12 vs lib/vx/builder/script_builder/go.rb in vx-builder-0.3.13
- old
+ new
@@ -8,10 +8,10 @@
def call(env)
if enabled?(env)
do_before_install(env) do |i|
- vxvm_install = "vxvm install go #{go_version env}"
+ 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('export GOPATH=$VX_ROOT/gopath')