diff options
author | Jonas Smedegaard <dr@jones.dk> | 2017-04-18 12:47:20 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2017-04-18 12:47:20 +0200 |
commit | 318cc3297c32db724115609632ddc582d7bd16b5 (patch) | |
tree | 6fb84c095a4b0e9e732cc77411f7b97921d73092 /localgit-remote-init-push | |
parent | a5869ac025669cec15e34611348a16d4ad86d399 (diff) |
Fix typo.
Diffstat (limited to 'localgit-remote-init-push')
-rwxr-xr-x | localgit-remote-init-push | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/localgit-remote-init-push b/localgit-remote-init-push index f770a3b..7204133 100755 --- a/localgit-remote-init-push +++ b/localgit-remote-init-push @@ -66,7 +66,7 @@ esac SSH_CONN=${3:-$GIT_HOST} GIT_REMOTE=${4:-origin} -[ origin != "$GIT_ORIGIN" ] || ORIGIN_IS_DEFAULT=yes +[ origin != "$GIT_REMOTE" ] || ORIGIN_IS_DEFAULT=yes [ -z "$GIT_CONN" ] || ssh "$SSH_CONN" git init --bare --shared "$BASEPATH"/"$PROJECT".git git remote add "$GIT_REMOTE" "$SSH_CONN":"$BASEPATH"/"$PROJECT".git |