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:
parent
6bfe5f55f4
commit
616394b177
@ -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=$(
|
||||
|
Loading…
Reference in New Issue
Block a user