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
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 @@
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