utiliser GIT_SSH

This commit is contained in:
Jephte CLAIN 2014-10-24 11:49:53 +04:00
parent e9d3897d15
commit ed23ad179a
1 changed files with 1 additions and 1 deletions

View File

@ -211,7 +211,7 @@ elif [ "$CMD" == crone ]; then
userhost="$user@$host"
[ -n "$path" ] || die "Vous devez spécifier le chemin du dépôt git"
ssh "$userhost" create "$path" || die
${GIT_SSH:-ssh} "$userhost" create "$path" || die
git clone "$userhost:$path"
elif array_contains PY_CMDS "$CMD"; then