blob: bf3447cc4fc969badba4212fb27a2560799098cb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#!/bin/sh
FROM_PV="4.2.5"
TO_PV="4.2.6"
FAILED_LANGS=""
DONE_LANGS=""
for item in `find -name libreoffice-l10n-*${FROM_PV}*.ebuild`; do
echo $item
newfile=${item/${FROM_PV}/${TO_PV}}
cp "${item}" "${newfile}" || exit 1
# do manifest
ebuild "${newfile}" manifest
if [ "$?" != "0" ]; then
FAILED_LANGS="${FAILED_LANGS} ${newfile}"
rm "${newfile}"
else
DONE_LANGS="${DONE_LANGS} ${newfile}"
git add "${newfile}"
fi
done
echo "FAILED => ${FAILED_LANGS}"
echo "DONE => ${DONE_LANGS}"
|