1
0
mirror of https://github.com/golang/go synced 2024-11-20 03:54:40 -07:00

deps.bash: handle space between .go and \ in GOFILES=

R=r
CC=golang-dev
https://golang.org/cl/181157
This commit is contained in:
Russ Cox 2010-01-06 17:59:15 -08:00
parent 6bfe5f55f4
commit 616394b177

View File

@ -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=$(