Run 'svn info' in the C locale. Also appropriately escape spaces and ? for gawk in...
authorGabor Greif <ggreif@gmail.com>
Thu, 28 Feb 2008 18:46:56 +0000 (18:46 +0000)
committerGabor Greif <ggreif@gmail.com>
Thu, 28 Feb 2008 18:46:56 +0000 (18:46 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47723 91177308-0d34-0410-b5e6-96231b3b80d8

Makefile

index 9bb311e318f2de2bd156e186c054b59bdb596d30..3fc59336f4af33b17bca1fdc7699ece59ff1bb24 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -145,9 +145,9 @@ build-for-llvm-top:
 SVN = svn
 SVN-UPDATE-OPTIONS =
 AWK = awk
-SUB-SVN-DIRS = $(AWK) '/?      / {print $$2}'   \
-               | xargs $(SVN) info 2>/dev/null \
-               | $(AWK) '/Path: / {print $$2}'
+SUB-SVN-DIRS = $(AWK) '/\?\ \ \ \ \ \ / {print $$2}'   \
+               | LANG=C xargs $(SVN) info 2>/dev/null \
+               | $(AWK) '/Path:\ / {print $$2}'
 
 update:
        $(SVN) $(SVN-UPDATE-OPTIONS) update