forked from ahurac/dotfiles
updateall : script update git exécution avec agent SSH
This commit is contained in:
parent
22c5766009
commit
80c20a3404
1 changed files with 4 additions and 0 deletions
|
@ -1,5 +1,9 @@
|
||||||
#!/bin/sh -ex
|
#!/bin/sh -ex
|
||||||
|
|
||||||
|
if [ -z "$SSH_AGENT_PID" ]; then
|
||||||
|
exec ssh-agent "$0" "$@"
|
||||||
|
fi
|
||||||
|
|
||||||
ssh-add
|
ssh-add
|
||||||
|
|
||||||
update_repo() {
|
update_repo() {
|
||||||
|
|
Loading…
Reference in a new issue