comparison spandsp-0.0.6pre17/unpack_v56ter_data.sh @ 4:26cd8f1ef0b1

import spandsp-0.0.6pre17
author Peter Meerwald <pmeerw@cosy.sbg.ac.at>
date Fri, 25 Jun 2010 15:50:58 +0200
parents
children
comparison
equal deleted inserted replaced
3:c6c5a16ce2f2 4:26cd8f1ef0b1
1 #!/bin/sh
2 #
3 # SpanDSP - a series of DSP components for telephony
4 #
5 # unpack_v56ter_data.sh
6 #
7 # This program is free software; you can redistribute it and/or modify
8 # it under the terms of the GNU Lesser General Public License version 2.1,
9 # as published by the Free Software Foundation.
10 #
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 # GNU General Public License for more details.
15 #
16 # You should have received a copy of the GNU Lesser General Public
17 # License along with this program; if not, write to the Free Software
18 # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19 #
20 # $Id: unpack_v56ter_data.sh,v 1.5 2008/05/03 07:55:04 steveu Exp $
21 #
22
23 ITUDATA="../../../T-REC-V.56ter-199608-I!!ZPF-E.zip"
24
25 cd test-data/itu
26 if [ -d v56ter ]
27 then
28 cd v56ter
29 else
30 mkdir v56ter
31 RETVAL=$?
32 if [ $RETVAL != 0 ]
33 then
34 echo Cannot create test-data/itu/v56ter!
35 exit $RETVAL
36 fi
37 cd v56ter
38 fi
39
40 rm -rf software
41 rm -rf *.TST
42 unzip ${ITUDATA} >/dev/null
43 RETVAL=$?
44 if [ $RETVAL != 0 ]
45 then
46 echo Cannot unpack the ITU test vectors for V.56ter!
47 exit $RETVAL
48 fi
49 #rm ${ITUDATA}
50 unzip software/V56ter/V56tere/Software.zip >/dev/null
51 RETVAL=$?
52 if [ $RETVAL != 0 ]
53 then
54 echo Cannot unpack the ITU test vectors for V.56ter!
55 exit $RETVAL
56 fi
57 mv ./software/V56ter/V56tere/*.TST .
58 chmod 644 *.TST
59 rm -rf software
60 echo The ITU test vectors for V.56ter should now be in the v56ter directory

Repositories maintained by Peter Meerwald, pmeerw@pmeerw.net.