13 |
|
|
14 |
# Update/expand smeserver cvs |
# Update/expand smeserver cvs |
15 |
cd /etc/pootle/cvs/smeserver |
cd /etc/pootle/cvs/smeserver |
16 |
for pkg in */sme7 anaconda/sme8 |
for pkg in */sme7 anaconda/sme8 booty/sme8 |
17 |
do |
do |
18 |
make -C $pkg clean &> /dev/null |
make -C $pkg clean &> /dev/null |
19 |
done |
done |
20 |
cvs update -dPA > /dev/null |
cvs update -dPA > /dev/null |
21 |
for pkg in */sme7 anaconda/sme8 |
for pkg in */sme7 anaconda/sme8 booty/sme8 |
22 |
do |
do |
23 |
make -C $pkg prep &> /dev/null |
make -C $pkg prep &> /dev/null |
24 |
done |
done |
191 |
# Build xml diffs |
# Build xml diffs |
192 |
for pkg in $(ls -d *.update | sed 's@.update$@@') |
for pkg in $(ls -d *.update | sed 's@.update$@@') |
193 |
do |
do |
|
orig=/etc/pootle/cvs/sme*/*/*7/$pkg/root/etc/e-smith/locale |
|
194 |
rm -f /var/www/html/patches/$(echo $pkg | sed 's/-[^-]\+$//')-*-locale-*.patch |
rm -f /var/www/html/patches/$(echo $pkg | sed 's/-[^-]\+$//')-*-locale-*.patch |
195 |
|
[ -d $pkg.update/root/etc/e-smith/locale ] || continue |
196 |
|
orig=/etc/pootle/cvs/sme*/*/*7/$pkg/root/etc/e-smith/locale |
197 |
diff -ruN $orig $pkg.update/root/etc/e-smith/locale \ |
diff -ruN $orig $pkg.update/root/etc/e-smith/locale \ |
198 |
| sed 's@^\(---\|+++\) [^ ]\+/\([^/]\+/root/.*\)@\1 \2@;/^diff -ruN/d' \ |
| sed 's@^\(---\|+++\) [^ ]\+/\([^/]\+/root/.*\)@\1 \2@;/^diff -ruN/d' \ |
199 |
> /var/www/html/patches/$pkg-locale-$(date +%F).patch |
> /var/www/html/patches/$pkg-locale-$(date +%F).patch |