diff options
-rwxr-xr-x | helpers/llvm-common | 14 |
1 files changed, 8 insertions, 6 deletions
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() { |