~tcarrio/git-mirror

c7aa4eab8766cab4760e70406a3ba116b6754449 — Tom Carrio 3 years ago 4e9027d
Using HOME env var instead of tilde to avoid non-expanding usage
1 files changed, 1 insertions(+), 1 deletions(-)

M git-mirror.sh
M git-mirror.sh => git-mirror.sh +1 -1
@@ 1,6 1,6 @@
#!/usr/bin/env sh

export SSH_TOKEN_PATH=${SSH_TOKEN_PATH:-~/.ssh/id_rsa}
export SSH_TOKEN_PATH=${SSH_TOKEN_PATH:-${HOME}/.ssh/id_rsa}
export GIT_LOCAL_REPO=${1:-${PWD}}
export GIT_TARGET_REPO=${GIT_TARGET_REPO}
export GIT_TARGET_REMOTE=downstream