mirror of
https://github.com/golang/go
synced 2024-11-24 21:10:04 -07:00
deps.bash: be less strict about format of x.go lines
R=iant CC=golang-dev https://golang.org/cl/862042
This commit is contained in:
parent
cc99ba0a96
commit
d08728f1e1
@ -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[ \t]*\\/.go/p' Makefile)
|
||||
sources=$(sed -n 's/^[ \t]*\([^ \t]*\.go\)[ \t]*\\?[ \t]*$/\1/p' Makefile)
|
||||
sources=$(echo $sources | sed 's/\$(GOOS)/'$GOOS'/g')
|
||||
sources=$(echo $sources | sed 's/\$(GOARCH)/'$GOARCH'/g')
|
||||
sources=$(ls $sources 2> /dev/null) # remove .s, .c, etc.
|
||||
|
Loading…
Reference in New Issue
Block a user