]> Cypherpunks repositories - gostls13.git/commitdiff
deps.bash: handle space between .go and \ in GOFILES=
authorRuss Cox <rsc@golang.org>
Thu, 7 Jan 2010 01:59:15 +0000 (17:59 -0800)
committerRuss Cox <rsc@golang.org>
Thu, 7 Jan 2010 01:59:15 +0000 (17:59 -0800)
R=r
CC=golang-dev
https://golang.org/cl/181157

src/pkg/deps.bash

index 10273e028157ebff8670ef7b9137c3c5501cb573..8d245e18db08f7578a36b8b6d1aa478da896f3ae 100755 (executable)
@@ -18,7 +18,7 @@ dirpat=$(echo $dirs | sed 's/ /|/g; s/.*/^(&)$/')
 for dir in $dirs; do (
        cd $dir || exit 1
 
-       sources=$(sed -n 's/\.go\\/.go/p' Makefile)
+       sources=$(sed -n 's/\.go[ \t]*\\/.go/p' Makefile)
        sources=$(ls $sources 2> /dev/null)  # remove .s, .c, etc.
 
        deps=$(