Merge pull request #24138 from rallytime/bp-24116

Backport #24116 to 2015.5
This commit is contained in:
Justin Findlay 2015-05-26 12:23:51 -06:00
commit 742eca29f7

View file

@ -1052,7 +1052,7 @@ def deploy_script(host,
if len(comps) > 0:
if len(comps) > 1 or comps[0] != 'tmp':
ret = root_cmd(
'chown {0}. \'{1}\''.format(username, tmp_dir),
'chown {0} \'{1}\''.format(username, tmp_dir),
tty, sudo, **ssh_kwargs
)
if ret: