Ensure gempath.sh and livery command are executable

This commit is contained in:
Jeff Blaine 2012-12-12 12:01:33 -05:00
parent 7c0745e33a
commit 6853b1ba5a
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ module Blimpy
run_sudo = ''
run_sudo = 'sudo' if use_sudo?(box)
box.ssh_into("cd #{dir_name} && #{run_sudo} ./gempath.sh #{command}")
box.ssh_into("cd #{dir_name} && chmod 755 ./gempath.sh #{command} && #{run_sudo} ./gempath.sh #{command}")
end
def postflight(box)