aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xhelpers/llvm-sync5
1 files changed, 4 insertions, 1 deletions
diff --git a/helpers/llvm-sync b/helpers/llvm-sync
index 4ed2203..5d5cb27 100755
--- a/helpers/llvm-sync
+++ b/helpers/llvm-sync
@@ -7,7 +7,10 @@
. llvm-common
function repo_sync () {
- if [ ! -d $2 ]; then return; fi
+ if [ ! -d $2 ]; then
+ echo " + Not updating $1 (couldn't find source directory)"
+ return;
+ fi
echo " + Updating $1"
cd $2
branch=`get_branch`