Fixes #6567 put the git wrapper script in the module temp dir

reviewable/pr18780/r1
James Tanner 11 years ago
parent 9efcbd8ef2
commit 6c8980c1a4

@ -143,7 +143,8 @@ import re
import tempfile
def write_ssh_wrapper():
fd, wrapper_path = tempfile.mkstemp()
module_dir = get_module_path()
fd, wrapper_path = tempfile.mkstemp(prefix=module_dir + '/')
fh = os.fdopen(fd, 'w+b')
template = """#!/bin/sh
if [ -z "$GIT_SSH_OPTS" ]; then

Loading…
Cancel
Save