diff options
author | Diana Picus <diana.picus@linaro.org> | 2016-06-16 19:28:38 +0300 |
---|---|---|
committer | Diana Picus <diana.picus@linaro.org> | 2016-06-16 19:28:38 +0300 |
commit | 600c05a4cfcc83ba0ade98ced85c46fea0b49fc8 (patch) | |
tree | 048a42c4df39698327b3a9982fde81a7cd17cfee | |
parent | c581e1933bff781b459b8cc92aad81c697198c84 (diff) |
Allow people to clone from the RO repo
This is necessary in order to allow people outside TCWG to use our scripts
Change-Id: Ia1855be8f5a45d6c8b070c782548b6e7bfb11335
-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 |