/[smeserver]/builds_bin/update_templates
ViewVC logotype

Diff of /builds_bin/update_templates

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.5 by slords, Thu Mar 5 19:32:51 2009 UTC Revision 1.6 by slords, Thu Mar 5 20:25:08 2009 UTC
# Line 67  do Line 67  do
67      diffcp /etc/pootle/templates/$(basename $pkg).pot /etc/pootle/po/sme7bp/templates/$(basename $pkg).pot      diffcp /etc/pootle/templates/$(basename $pkg).pot /etc/pootle/po/sme7bp/templates/$(basename $pkg).pot
68  done  done
69    
70  # Update sme7admin templates  # Update sme7admin template
71  potempl /etc/pootle/cvs/smecontribs/smeserver-sme7admin/*/*/root/{etc/e-smith/web/functions/sme7admin,usr/bin/sme7admind} > sme7admin.pot  potempl /etc/pootle/cvs/smecontribs/smeserver-sme7admin/*/*/root/{etc/e-smith/web/functions/sme7admin,usr/bin/sme7admind} > sme7admin.pot
72  diffmv sme7admin.pot /etc/pootle/po/sme7cp/templates/sme7admin.pot  diffmv sme7admin.pot /etc/pootle/po/sme7cp/templates/sme7admin.pot
73    
# Line 204  orig=/etc/pootle/cvs/smeserver/smeserver Line 204  orig=/etc/pootle/cvs/smeserver/smeserver
204  diff -ruN $orig $pkg.update/po \  diff -ruN $orig $pkg.update/po \
205  | sed 's@^\(---\|+++\) [^ ]\+/\([^/]\+/po/.*\)@\1 \2@;/^diff -ruN/d' \  | sed 's@^\(---\|+++\) [^ ]\+/\([^/]\+/po/.*\)@\1 \2@;/^diff -ruN/d' \
206  >> /var/www/html/patches/$pkg-locale-$(date +%F).patch  >> /var/www/html/patches/$pkg-locale-$(date +%F).patch
207    
208    # Build sme7admin diff
209    pkg=$(ls -d smeserver-sme7admin-* | sed 's@.update$@@')
210    orig=/etc/pootle/cvs/smecontribs/smeserver-sme7admin/*7/$pkg/po
211    diff -ruN $orig $pkg.update/po \
212    | sed 's@^\(---\|+++\) [^ ]\+/\([^/]\+/po/.*\)@\1 \2@;/^diff -ruN/d' \
213    >> /var/www/html/patches/$pkg-locale-$(date +%F).patch
214    


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed