mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-22 02:33:03 +00:00
* bootstrap (no_cache): New var, to accommodate different wget
variants. Use it instead of '-C off'. Problem reported by twlevo@xs4all.nl.
This commit is contained in:
@@ -1,5 +1,9 @@
|
|||||||
2005-08-25 Paul Eggert <eggert@cs.ucla.edu>
|
2005-08-25 Paul Eggert <eggert@cs.ucla.edu>
|
||||||
|
|
||||||
|
* bootstrap (no_cache): New var, to accommodate different wget
|
||||||
|
variants. Use it instead of '-C off'. Problem reported by
|
||||||
|
twlevo@xs4all.nl.
|
||||||
|
|
||||||
* data/glr.c (yydestroyStackItem): New function.
|
* data/glr.c (yydestroyStackItem): New function.
|
||||||
(yyrecoverSyntaxError, yyreturn): Use it to improve quality of
|
(yyrecoverSyntaxError, yyreturn): Use it to improve quality of
|
||||||
debugging information. Problem reported by Joel E. Denny.
|
debugging information. Problem reported by Joel E. Denny.
|
||||||
|
|||||||
14
bootstrap
14
bootstrap
@@ -25,6 +25,7 @@ package=bison
|
|||||||
|
|
||||||
# Ensure file names are sorted consistently across platforms;
|
# Ensure file names are sorted consistently across platforms;
|
||||||
# e.g., m4/ulonglong_gl.m4 should follow m4/ulonglong.m4.
|
# e.g., m4/ulonglong_gl.m4 should follow m4/ulonglong.m4.
|
||||||
|
# Also, ensure diagnostics are in English, e.g., "wget --help" below.
|
||||||
LC_ALL=C
|
LC_ALL=C
|
||||||
export LC_ALL
|
export LC_ALL
|
||||||
|
|
||||||
@@ -164,10 +165,19 @@ sed '
|
|||||||
|
|
||||||
case $SKIP_PO in
|
case $SKIP_PO in
|
||||||
'')
|
'')
|
||||||
|
case `wget --help` in
|
||||||
|
*'--no-cache'*)
|
||||||
|
no_cache='--no-cache';;
|
||||||
|
*'--cache=on/off'*)
|
||||||
|
no_cache='--cache=off';;
|
||||||
|
*)
|
||||||
|
no_cache='';;
|
||||||
|
esac
|
||||||
|
|
||||||
echo "$0: getting translations into po (please ignore the robots.txt ERROR 404)..."
|
echo "$0: getting translations into po (please ignore the robots.txt ERROR 404)..."
|
||||||
(cd po &&
|
(cd po &&
|
||||||
rm -f dummy `ls | sed -n '/\.gmo$/p; /\.po/p'` &&
|
rm -f dummy `ls | sed -n '/\.gmo$/p; /\.po/p'` &&
|
||||||
wget -nv -nd -r -l 1 -A .po -C off \
|
wget -nv -nd -r -l 1 -A .po $no_cache \
|
||||||
http://www.iro.umontreal.ca/translation/maint/$package/ &&
|
http://www.iro.umontreal.ca/translation/maint/$package/ &&
|
||||||
ls *.po | sed 's/\.po$//' >LINGUAS
|
ls *.po | sed 's/\.po$//' >LINGUAS
|
||||||
) || exit
|
) || exit
|
||||||
@@ -177,7 +187,7 @@ case $SKIP_PO in
|
|||||||
echo "$0: getting translations into po (please ignore the robots.txt ERROR 404)..."
|
echo "$0: getting translations into po (please ignore the robots.txt ERROR 404)..."
|
||||||
(cd runtime-po &&
|
(cd runtime-po &&
|
||||||
rm -f dummy `ls | sed -n '/\.gmo$/p; /\.po$/p'` &&
|
rm -f dummy `ls | sed -n '/\.gmo$/p; /\.po$/p'` &&
|
||||||
wget -nv -nd -r -l 1 -A .po -C off \
|
wget -nv -nd -r -l 1 -A .po $no_cache \
|
||||||
http://www.iro.umontreal.ca/translation/maint/$package-runtime/ &&
|
http://www.iro.umontreal.ca/translation/maint/$package-runtime/ &&
|
||||||
|
|
||||||
# For translations that have not yet been upgraded to the new
|
# For translations that have not yet been upgraded to the new
|
||||||
|
|||||||
Reference in New Issue
Block a user