Other shared files
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

47 lines
1.0 KiB

  1. #! /bin/bash
  2. # kate: space-indent on; indent-width 2; replace-tabs on;
  3. # Note to developers:
  4. # there are not many comments in this code to avoid to slow down the code
  5. # So please look also in the svn log to have comments about the code
  6. umask 022
  7. export SVNROOT="svn+ssh://scripty@svn.kde.org/home/kde"
  8. export PATH=~/bin:$PATH
  9. #export VERBOSE=1
  10. #export VERBOSE1=yes
  11. export TIMING1=yes
  12. export SVNQUIETFLAG=-q
  13. test -z "$VERBOSE" || VERBOSE1=yes
  14. test -z "$VERBOSE" || SVNQUIETFLAG=
  15. test -z "$TIMING" || TIMING1=yes
  16. cd $HOME/prod
  17. export BASEDIR=$PWD
  18. export STARTTIME=`date +%s`
  19. # transmod: path of the corresponding tde-i18n or l10n module
  20. export transmod="trunk/l10n"
  21. svn update -q $transmod/scripts
  22. $transmod/scripts/update_translations
  23. export transmod="branches/stable/l10n"
  24. svn update -q $transmod/scripts
  25. $transmod/scripts/update_translations 2>&1 | uniq
  26. if test $(($(date +"%j") % 2)) = 1; then
  27. cd $BASEDIR/trunk/l10n
  28. else
  29. cd $BASEDIR/branches/stable/l10n
  30. fi
  31. svn update -q
  32. ./scripts/check_po_files
  33. svn commit -m "check_po_files"