/[m4]/m4/bootstrap
ViewVC logotype

Diff of /m4/bootstrap

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

revision 1.29 by gary, Sun Dec 4 19:53:15 2005 UTC revision 1.30 by gary, Mon Dec 5 15:08:39 2005 UTC
# Line 57  func_error () Line 57  func_error ()
57    
58  TP_URL="http://www.iro.umontreal.ca/translation/maint/m4/"  TP_URL="http://www.iro.umontreal.ca/translation/maint/m4/"
59    
 WGETFLAGS="--no-cache"  
 case `wget $WGETFLAGS 2>&1` in  
   *"unrecognized option \`--no-cache'"*) WGETFLAGS="--cache=off" ;;  
 esac  
   
60  func_update_po ()  func_update_po ()
61  {  {
62      if test $# = 1; then      if test $# = 1; then
# Line 70  func_update_po () Line 65  func_update_po ()
65          *)     POFILE=$1.po ;;          *)     POFILE=$1.po ;;
66        esac        esac
67        func_echo "getting translation for $1..."        func_echo "getting translation for $1..."
68        $WGET -r $WGETFLAGS $TP_URL/$POFILE        $WGET -r --cache=off $TP_URL/$POFILE
69      else      else
70        func_echo "getting translations into po..."        func_echo "getting translations into po..."
71        (cd po &&        (cd po &&
72         rm -f dummy `ls | sed -n '/\.gmo$/p; /\.po/p'` &&         rm -f dummy `ls | sed -n '/\.gmo$/p; /\.po/p'` &&
73           $WGET -nv -nd -r -l 1 -A .po $WGETFLAGS $TP_URL &&           $WGET -nv -nd -r -l 1 -A .po --cache=off $TP_URL &&
74           rm -f index.html index.html.[0-9]*           rm -f index.html index.html.[0-9]*
75         ls *.po | sed 's/\.po$//' > LINGUAS         ls *.po | sed 's/\.po$//' > LINGUAS
76        ) || exit        ) || exit

Legend:
Removed from v.1.29  
changed lines
  Added in v.1.30

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26