lib/vx/lib/container/local/spawner.rb in vx-lib-container-0.5.7 vs lib/vx/lib/container/local/spawner.rb in vx-lib-container-0.5.8
- old
+ new
@@ -11,10 +11,10 @@
include Lib::Container::Upload
def exec(script, &logger)
Dir.chdir work_dir do
sh.exec upload(script, "~/build.sh", mode: '0755')
- sh.exec("~/build.sh", &logger)
+ sh.exec("~/build.sh", home: work_dir, &logger)
end
end
def id
work_dir