summaryrefslogtreecommitdiffstats
path: root/release/scripts/dict-make.sh
blob: aa8b4c9c21415375726e7dba8b1a51550773ba90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

# Move the dict stuff out to its own dist
if [ -d ${RD}/trees/bin/usr/share/dict ]; then
	tar -cf - -C ${RD}/trees/bin/usr/share/dict . |
		tar -xf - -C ${RD}/trees/dict/usr/share/dict &&
	rm -rf ${RD}/trees/bin/usr/share/dict;
fi

mkdir ${RD}/trees/dict/usr/share/misc

for i in airport birthtoken flowers inter.phone iso3166 na.phone zipcodes; do
	if [ -f ${RD}/trees/bin/usr/share/misc/$i ]; then
		mv ${RD}/trees/bin/usr/share/misc/$i
			${RD}/trees/dict/usr/share/misc;
	fi;
done
OpenPOWER on IntegriCloud