]> Cypherpunks repositories - gostls13.git/commitdiff
deps.bash tweak - no need to sort -u the $O files.
authorRuss Cox <rsc@golang.org>
Tue, 19 May 2009 22:22:42 +0000 (15:22 -0700)
committerRuss Cox <rsc@golang.org>
Tue, 19 May 2009 22:22:42 +0000 (15:22 -0700)
R=dsymonds
DELTA=1  (0 added, 0 deleted, 1 changed)
OCL=29048
CL=29053

src/lib/deps.bash

index 6b5b615f1b9e967a9553a198f6bb39a05717e404..8495bb28eb506ebfb3686cbe1617ca5e78e97a1f 100755 (executable)
@@ -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=$(