diff options
Diffstat (limited to 'bin/find-unused-typedefs.sh')
-rwxr-xr-x | bin/find-unused-typedefs.sh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/bin/find-unused-typedefs.sh b/bin/find-unused-typedefs.sh index a8039f552178..7a6f54b2b1c8 100755 --- a/bin/find-unused-typedefs.sh +++ b/bin/find-unused-typedefs.sh @@ -18,9 +18,8 @@ # (8) if so, generate a sed command to remove the #define # bin/find-unused-typedefs.py \ - | sort \ - | uniq \ + | sort -u \ | xargs -Ixxx -n 1 -P 8 sh -c \ - "( git grep -w 'xxx' | awk -f bin/find-unused-defines.awk -v p1=xxx ) && echo \"xxx\" 1>&2" + '( git grep -w xxx | awk -f bin/find-unused-defines.awk -v p1=xxx ) && echo xxx 1>&2' |