diff options
-rwxr-xr-x | helpers/llvm-common | 2 | ||||
-rwxr-xr-x | helpers/llvm-prepare | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/helpers/llvm-common b/helpers/llvm-common index 33a9129..2a529fa 100755 --- a/helpers/llvm-common +++ b/helpers/llvm-common @@ -15,7 +15,7 @@ if [[ $LLVM_GITRW = '' ]]; then echo "want to set up Git-SVN and no otherwise" exit -1 fi -if [[ $LLVM_GITUSER = '' ]]; then +if [[ $LLVM_GITRW = "yes" ]] && [[ $LLVM_GITUSER = '' ]]; then echo "Please, define \$LLVM_GITUSER to access Linaro's Git server" exit 1 fi diff --git a/helpers/llvm-prepare b/helpers/llvm-prepare index d9f8a2a..4f57447 100755 --- a/helpers/llvm-prepare +++ b/helpers/llvm-prepare @@ -26,11 +26,11 @@ function prepare() { fi } -gitroot=ssh://$LLVM_GITUSER@review.linaro.org:29418/toolchain/llvm - if [ -z $LLVM_SVNUSER ]; then + gitroot=https://git.linaro.org/toolchain/llvm svnroot=https://llvm.org/svn/llvm-project else + gitroot=ssh://$LLVM_GITUSER@review.linaro.org:29418/toolchain/llvm svnroot=https://$LLVM_SVNUSER@llvm.org/svn/llvm-project fi |