|
Last change
on this file since 3670 was 2725, checked in by Bruno Cornec, 14 years ago |
- Update mindi-busybox to 1.18.3 to avoid problems with the tar command which is now failing on recent versions with busybox 1.7.3
|
-
Property svn:executable
set to
*
|
|
File size:
618 bytes
|
| Line | |
|---|
| 1 | #!/bin/sh
|
|---|
| 2 |
|
|---|
| 3 | test -d "$1" || exit 1
|
|---|
| 4 | test -d "$2" || exit 1
|
|---|
| 5 |
|
|---|
| 6 | {
|
|---|
| 7 | (
|
|---|
| 8 | cd "$1" || exit 1
|
|---|
| 9 | find -name '*.o' -o -name '*.os' # -o -name '*.so'
|
|---|
| 10 | )
|
|---|
| 11 | (
|
|---|
| 12 | cd "$2" || exit 1
|
|---|
| 13 | find -name '*.o' -o -name '*.os' # -o -name '*.so'
|
|---|
| 14 | )
|
|---|
| 15 | } | sed 's:^\./::' | sort | uniq | \
|
|---|
| 16 | tee LST | \
|
|---|
| 17 | (
|
|---|
| 18 | IFS=''
|
|---|
| 19 | while read -r oname; do
|
|---|
| 20 | if ! test -f "$1/$oname"; then
|
|---|
| 21 | echo "Only $2/$oname"
|
|---|
| 22 | continue
|
|---|
| 23 | fi
|
|---|
| 24 | if ! test -f "$2/$oname"; then
|
|---|
| 25 | echo "Only $1/$oname"
|
|---|
| 26 | continue
|
|---|
| 27 | fi
|
|---|
| 28 | $1/scripts/bloat-o-meter $1/$oname $2/$oname | grep 'otal: 0 byte' >/dev/null && continue
|
|---|
| 29 | $1/scripts/bloat-o-meter $1/$oname $2/$oname
|
|---|
| 30 | size $1/$oname $2/$oname
|
|---|
| 31 | echo
|
|---|
| 32 | done
|
|---|
| 33 | )
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.