3
|
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 |
|
|
19 |
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]+'
|
|
20 |
|
|
21 |
echo "Countbinaries"
|
|
22 |
echo ""
|
|
23 |
|
|
24 |
PATTERN='\.(('`echo "$TYPES" |sed 's# #)|(#g'`'))$'
|
|
25 |
echo "Searching for: $PATTERN"
|
|
26 |
|
|
27 |
|
|
28 |
echo -n "ARMv5 Binaries: "
|
|
29 |
find $EPOCROOT/epoc32/release/armv5 | egrep "$PATTERN" | wc
|