/[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.6 by slords, Thu Mar 5 20:25:08 2009 UTC Revision 1.7 by slords, Thu Mar 5 21:41:33 2009 UTC
# Line 191  done Line 191  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


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