countbinaries.sh 845 B

123456789101112131415161718192021222324252627282930
  1. #!/bin/sh
  2. # Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
  3. # All rights reserved.
  4. # This component and the accompanying materials are made available
  5. # under the terms of the License "Eclipse Public License v1.0"
  6. # which accompanies this distribution, and is available
  7. # at the URL "http://www.eclipse.org/legal/epl-v10.html".
  8. #
  9. # Initial Contributors:
  10. # Nokia Corporation - initial contribution.
  11. #
  12. # Contributors:
  13. #
  14. # Description:
  15. # Count the release binaries produced by a build
  16. # armv5 only for the moment
  17. #
  18. TYPES='agt ani cpm csy dll drv esy exe fsy fxt hlp jar ldd lib loc msy nif pdd pdl prt sc tsy wsy [0-9]+'
  19. echo "Countbinaries"
  20. echo ""
  21. PATTERN='\.(('`echo "$TYPES" |sed 's# #)|(#g'`'))$'
  22. echo "Searching for: $PATTERN"
  23. echo -n "ARMv5 Binaries: "
  24. find $EPOCROOT/epoc32/release/armv5 | egrep "$PATTERN" | wc