86 |
| sed 's@^\(---\|+++\) [^ ]\+/\([^/]\+/po/.*\)@\1 \2@;/^diff -ruN/d' \ |
| sed 's@^\(---\|+++\) [^ ]\+/\([^/]\+/po/.*\)@\1 \2@;/^diff -ruN/d' \ |
87 |
>> /var/www/html/patches/$pkg-locale-$(date +%F).patch |
>> /var/www/html/patches/$pkg-locale-$(date +%F).patch |
88 |
|
|
89 |
|
# Build sme7admin diff |
90 |
|
pkg=$(ls -d smeserver-sme7admin-* | sed 's@.update$@@') |
91 |
|
orig=/etc/pootle/cvs/smecontribs/smeserver-sme7admin/*7/$pkg/po |
92 |
|
diff -ruN $orig $pkg.update/po \ |
93 |
|
| sed 's@^\(---\|+++\) [^ ]\+/\([^/]\+/po/.*\)@\1 \2@;/^diff -ruN/d' \ |
94 |
|
>> /var/www/html/patches/$pkg-locale-$(date +%F).patch |
95 |
|
|