summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2017-04-18 12:47:20 +0200
committerJonas Smedegaard <dr@jones.dk>2017-04-18 12:47:20 +0200
commit318cc3297c32db724115609632ddc582d7bd16b5 (patch)
tree6fb84c095a4b0e9e732cc77411f7b97921d73092
parenta5869ac025669cec15e34611348a16d4ad86d399 (diff)
Fix typo.
-rwxr-xr-xlocalgit-remote-init-push2
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