Skip to content

Commit

Permalink
Merge pull request #48545 from bbinet/fix-unreacheable-ssh-id-wrapper
Browse files Browse the repository at this point in the history
Fix unreachable ssh-id-wrapper template when root_dir is relative
  • Loading branch information
Mike Place committed Aug 21, 2018
2 parents a4c51a9 + 284dcf7 commit 60605f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions salt/modules/git.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,10 +265,10 @@ def _git_run(command, cwd=None, user=None, password=None, identity=None,

# copy wrapper to area accessible by ``runas`` user
# currently no support in windows for wrapping git ssh
ssh_id_wrapper = os.path.join(
ssh_id_wrapper = os.path.abspath(os.path.join(
salt.utils.templates.TEMPLATE_DIRNAME,
'git/ssh-id-wrapper'
)
))
tmp_ssh_wrapper = None
if salt.utils.platform.is_windows():
ssh_exe = _find_ssh_exe()
Expand Down

0 comments on commit 60605f0

Please sign in to comment.