aboutsummaryrefslogtreecommitdiff
path: root/helpers/llvm-common
diff options
context:
space:
mode:
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