From: David Blaikie Date: Tue, 14 Aug 2012 18:33:50 +0000 (+0000) Subject: Fix the make update target to work even when sub repo repositories are ignored. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=f6933e6a18e8b36aff63f0c15ddc627f8a610525;p=oota-llvm.git Fix the make update target to work even when sub repo repositories are ignored. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161883 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/Makefile b/Makefile index ec24862ad6f..604696a1df4 100644 --- a/Makefile +++ b/Makefile @@ -244,13 +244,13 @@ build-for-llvm-top: SVN = svn SVN-UPDATE-OPTIONS = AWK = awk -SUB-SVN-DIRS = $(AWK) '/\?\ \ \ \ \ \ / {print $$2}' \ +SUB-SVN-DIRS = $(AWK) '/I|\? / {print $$2}' \ | LC_ALL=C xargs $(SVN) info 2>/dev/null \ | $(AWK) '/^Path:\ / {print $$2}' update: $(SVN) $(SVN-UPDATE-OPTIONS) update $(LLVM_SRC_ROOT) - @ $(SVN) status $(LLVM_SRC_ROOT) | $(SUB-SVN-DIRS) | xargs $(SVN) $(SVN-UPDATE-OPTIONS) update + @ $(SVN) status --no-ignore $(LLVM_SRC_ROOT) | $(SUB-SVN-DIRS) | xargs $(SVN) $(SVN-UPDATE-OPTIONS) update happiness: update all check-all