summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYvan Roux <yvan.roux@linaro.org>2015-03-19 11:13:36 +0100
committerYvan Roux <yvan.roux@linaro.org>2015-03-19 11:13:36 +0100
commitc60a7880b865df68e5c57182b510f5b567eedf7e (patch)
tree67f68856655d9569fac1af9d6d2ea0322a72c2b5
parenta4c4f5de540fe3396ff1c76155cb5e5e273cf698 (diff)
downloadbackflip-c60a7880b865df68e5c57182b510f5b567eedf7e.tar.gz
Check for ssh protocol for git.linaro.org remote instead of git user.
-rwxr-xr-xbackflip2
1 files changed, 1 insertions, 1 deletions
diff --git a/backflip b/backflip
index 265885d..b7e041e 100755
--- a/backflip
+++ b/backflip
@@ -110,7 +110,7 @@ compare() {
# ==============================================================================
print_step "Checking Configuration"
# ==============================================================================
-if ! git remote -v 2>&1 | grep "git@git.linaro.org" > /dev/null ; then
+if ! git remote -v 2>&1 | grep "ssh.*git\.linaro\.org" > /dev/null ; then
die "You're not in the right directory !"
fi
if [ ! -e .gitreview ]; then