diff options
author | Renato Golin <rengolin@gmail.com> | 2016-05-12 16:20:10 +0100 |
---|---|---|
committer | Renato Golin <renato.golin@linaro.org> | 2016-05-12 21:09:06 +0000 |
commit | 7c10e6e2e91b7915f8e0f58a40bee3d3a145adc0 (patch) | |
tree | bac7caaa89dbbc83a2f9ad14666136b7bacee410 | |
parent | 533de1f303e51eb2448b121c9d2d071d198f9efb (diff) | |
download | linaro-scripts-7c10e6e2e91b7915f8e0f58a40bee3d3a145adc0.tar.gz |
Git user is now necessary to checkout from Linaro's repo
Change-Id: Ic0a8ff81f82896359f2f8e482943710d8d06fa29
-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() { |