From 318cc3297c32db724115609632ddc582d7bd16b5 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Tue, 18 Apr 2017 12:47:20 +0200 Subject: Fix typo. --- localgit-remote-init-push | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'localgit-remote-init-push') 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 -- cgit v1.2.3