From 21a1c0bec042923fc2afc048f58b9dc980dd2fa6 Mon Sep 17 00:00:00 2001 From: Abhijit Amin Date: Sun, 29 Dec 2019 23:41:49 -0500 Subject: [PATCH] Look for @ sing in the repository name. --- git-sync.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-sync.sh b/git-sync.sh index 22b3dce..d8399b3 100755 --- a/git-sync.sh +++ b/git-sync.sh @@ -17,7 +17,7 @@ then SOURCE_REPO="https://github.com/${SOURCE_REPO}.git" fi fi -if ! echo $DESTINATION_REPO | grep '.git' +if ! echo $DESTINATION_REPO | grep -E '.git|@' then if [[ -n "$SSH_PRIVATE_KEY" ]] then