1
0
mirror of https://github.com/golang/go synced 2024-11-18 16:54:43 -07:00

deps.bash tweak - no need to sort -u the $O files.

R=dsymonds
DELTA=1  (0 added, 0 deleted, 1 changed)
OCL=29048
CL=29053
This commit is contained in:
Russ Cox 2009-05-19 15:22:42 -07:00
parent 20ea881c79
commit d85238635a

View File

@ -13,7 +13,7 @@ dirpat=$(echo $dirs | sed 's/ /|/g; s/.*/^(&)$/')
for dir in $dirs; do (
cd $dir || exit 1
sources=$(sed -n 's/\.\$O\\/.go/p' Makefile | sort | uniq)
sources=$(sed -n 's/\.\$O\\/.go/p' Makefile)
sources=$(ls $sources 2> /dev/null) # remove .s, .c, etc.
deps=$(