Merge pull request #63 from jblaine/patch-1

Ensure gempath.sh and livery command are executable
This commit is contained in:
R. Tyler Croy 2012-12-12 09:47:36 -08:00
commit 8ee0c96ef5
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)