From 7c10e6e2e91b7915f8e0f58a40bee3d3a145adc0 Mon Sep 17 00:00:00 2001 From: Renato Golin Date: Thu, 12 May 2016 16:20:10 +0100 Subject: Git user is now necessary to checkout from Linaro's repo Change-Id: Ic0a8ff81f82896359f2f8e482943710d8d06fa29 --- helpers/llvm-common | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'helpers/llvm-common') diff --git a/helpers/llvm-common b/helpers/llvm-common index d7de48f..47b4937 100755 --- a/helpers/llvm-common +++ b/helpers/llvm-common @@ -14,12 +14,14 @@ if [[ $LLVM_GITRW = '' ]]; then echo "Please, define \$LLVM_GITRW" exit -1 fi -if [[ $LLVM_GITRW = 'yes' ]]; then - if [[ $LLVM_SVNUSER = '' ]] || [[ $LLVM_GITUSER = '' ]]; then - echo "Please, define \$LLVM_GITUSER and \$LLVM_SVNUSER when using GITRW=yes" - echo "GITUSER is your Linaro git user, SVNUSER is your LLVM commit user" - exit 1 - fi +if [[ $LLVM_GITUSER = '' ]]; then + echo "Please, define \$LLVM_GITUSER to access Linaro's Git server" + exit 1 +fi +if [[ $LLVM_GITRW = 'yes' ]] && [[ $LLVM_SVNUSER = '' ]]; then + echo "Please, define \$LLVM_SVNUSER when using GITRW=yes" + echo "SVNUSER is your upstream LLVM commit user" + exit 1 fi get_branch() { -- cgit v1.2.3