mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-07 08:18:41 +09:00
import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo
This commit is contained in:
commit
dcd9973243
150858 changed files with 23884658 additions and 0 deletions
12
testing/mozharness/external_tools/git-ssh-wrapper.sh
Normal file
12
testing/mozharness/external_tools/git-ssh-wrapper.sh
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
#!/bin/sh
|
||||
# From http://www.reddit.com/r/git/comments/hdn1a/howto_using_the_git_ssh_variable_for_private_keys/
|
||||
|
||||
# In the example, this was
|
||||
# if [ -e "$GIT_SSH_KEY" ]; then
|
||||
# However, that broke on tilde expansion.
|
||||
# Let's just assume if GIT_SSH_KEY is set, we want to use it.
|
||||
if [ "x$GIT_SSH_KEY" != "x" ]; then
|
||||
exec ssh -o IdentityFile="$GIT_SSH_KEY" -o ServerAliveInterval=600 "$@"
|
||||
else
|
||||
exec ssh -o ServerAliveInterval=600 "$@"
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue