lib/vx/builder/script_builder/prepare.rb in vx-builder-0.5.13 vs lib/vx/builder/script_builder/prepare.rb in vx-builder-0.5.14
- old
+ new
@@ -61,9 +61,10 @@
i << "chmod +x $VX_ROOT/bin/vxvm"
end
env.after_script_init.tap do |i|
i << 'export VX_ROOT=$(pwd)'
+ i << "test -d #{repo_path} || exit 1"
i << "cd #{repo_path}"
end
app.call env
end