Fix finddeps: deduplicate outputs
This was causing weird heisenbugs.
This commit is contained in:
parent
8f1f80bea3
commit
ca830706ac
@ -8,4 +8,4 @@ search() {
|
|||||||
for i in $deps; do search $i; done
|
for i in $deps; do search $i; done
|
||||||
}
|
}
|
||||||
|
|
||||||
search "$1"|grep -v "$1"|sed 's|\.c$|.o|'
|
search "$1"|sort -u|grep -v "$1"|sed 's|\.c$|.o|'
|
||||||
|
Loading…
Reference in New Issue
Block a user