File: downloadall.sh

package info (click to toggle)
python-cjkcodecs 1.1.1-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 2,848 kB
  • ctags: 1,231
  • sloc: ansic: 33,819; python: 2,388; makefile: 70; sh: 11
file content (15 lines) | stat: -rw-r--r-- 316 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh
# $Id: downloadall.sh,v 1.2 2003/12/19 02:39:09 perky Exp $

MAPURLS=""
for locale in cn jp kr tw; do
	MAPURL=`python -c "
import test_codecmaps_$locale as cm
print '\n'.join([
	getattr(cm, cl).mapfileurl for cl in dir(cm)
	if cl.startswith('Test')
])"`
	MAPURLS="$MAPURLS $MAPURL"
done

wget -nc $MAPURLS