blob: 4d70e77850e98559830bf4853b08f2d5fd0a706e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
do_rig_locales() {
# If indicated, only build a limited selection of locales
if [ "x${LIMIT_BUILT_LOCALES}" != "x" ]; then
INFILE="${S}/localedata/SUPPORTED"
OUTFILE="${S}/localedata/SUPPORTED.tmp"
head -n 3 $INFILE > $OUTFILE
for i in ${LIMIT_BUILT_LOCALES}; do
echo
grep $i $INFILE >> $OUTFILE
done
head --lines=-1 $OUTFILE > $INFILE
tail --lines=1 $OUTFILE | sed 's#\\##' >> $INFILE
fi
}
addtask rig_locales before do_compile after do_configure
|