/[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.3 by slords, Sat Jul 26 21:51:03 2008 UTC Revision 1.4 by slords, Fri Oct 3 21:33:16 2008 UTC
# Line 180  done Line 180  done
180  for pkg in $(ls -d *.update | sed 's@.update$@@')  for pkg in $(ls -d *.update | sed 's@.update$@@')
181  do  do
182      orig=/etc/pootle/cvs/sme*/*/*7/$pkg/root/etc/e-smith/locale      orig=/etc/pootle/cvs/sme*/*/*7/$pkg/root/etc/e-smith/locale
183      rm /var/www/html/patches/$(echo $pkg | sed 's/-[^-]\+$//')-*-locale-*.patch      rm -f /var/www/html/patches/$(echo $pkg | sed 's/-[^-]\+$//')-*-locale-*.patch
184      diff -ruN $orig $pkg.update/root/etc/e-smith/locale \      diff -ruN $orig $pkg.update/root/etc/e-smith/locale \
185      | sed 's@^\(---\|+++\) [^ ]\+/\([^/]\+/root/.*\)@\1 \2@;/^diff -ruN/d' \      | sed 's@^\(---\|+++\) [^ ]\+/\([^/]\+/root/.*\)@\1 \2@;/^diff -ruN/d' \
186      > /var/www/html/patches/$pkg-locale-$(date +%F).patch      > /var/www/html/patches/$pkg-locale-$(date +%F).patch
# Line 189  done Line 189  done
189  # Build console diffs  # Build console diffs
190  pkg=$(ls -d smeserver-locale-* | sed 's@.update$@@')  pkg=$(ls -d smeserver-locale-* | sed 's@.update$@@')
191  orig=/etc/pootle/cvs/smeserver/smeserver-locale/*7/$pkg/po  orig=/etc/pootle/cvs/smeserver/smeserver-locale/*7/$pkg/po
 rm /var/www/html/patches/$(echo $pkg | sed 's/-[^-]\+$//')-*-locale-*.patch  
192  diff -ruN $orig $pkg.update/po \  diff -ruN $orig $pkg.update/po \
193  | sed 's@^\(---\|+++\) [^ ]\+/\([^/]\+/po/.*\)@\1 \2@;/^diff -ruN/d' \  | sed 's@^\(---\|+++\) [^ ]\+/\([^/]\+/po/.*\)@\1 \2@;/^diff -ruN/d' \
194  >> /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