aboutsummaryrefslogtreecommitdiff
path: root/helpers/llvm-common
diff options
context:
space:
mode:
authorDiana Picus <diana.picus@linaro.org>2016-06-16 19:28:38 +0300
committerDiana Picus <diana.picus@linaro.org>2016-06-16 19:28:38 +0300
commit600c05a4cfcc83ba0ade98ced85c46fea0b49fc8 (patch)
tree048a42c4df39698327b3a9982fde81a7cd17cfee /helpers/llvm-common
parentc581e1933bff781b459b8cc92aad81c697198c84 (diff)
downloadlinaro-scripts-600c05a4cfcc83ba0ade98ced85c46fea0b49fc8.tar.gz
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
Diffstat (limited to 'helpers/llvm-common')
-rwxr-xr-xhelpers/llvm-common2
1 files changed, 1 insertions, 1 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