diff options
author | Akim Demaille <akim@lrde.epita.fr> | 2013-05-28 16:38:26 +0200 |
---|---|---|
committer | Akim Demaille <akim@lrde.epita.fr> | 2013-05-28 16:40:44 +0200 |
commit | f9340b27b20e8780a60974248a642ca12d5bd243 (patch) | |
tree | 3468de81fdc43c288380572d95a4d769bc15775b /bootstrap | |
parent | f249e803f032cc5e2bdce431589067595fdfd4ef (diff) | |
download | bison-f9340b27b20e8780a60974248a642ca12d5bd243.tar.gz |
gnulib: update
Diffstat (limited to 'bootstrap')
-rwxr-xr-x | bootstrap | 19 |
1 files changed, 10 insertions, 9 deletions
@@ -1,6 +1,6 @@ #! /bin/sh # Print a version string. -scriptversion=2013-03-08.16; # UTC +scriptversion=2013-05-08.20; # UTC # Bootstrap this package from checked-out sources. @@ -140,20 +140,21 @@ po_download_command_format2=\ "wget --mirror -nd -q -np -A.po -P '%s' \ http://translationproject.org/latest/%s/" +# Prefer a non-empty tarname (4th argument of AC_INIT if given), else +# fall back to the package name (1st argument with munging) extract_package_name=' - /^AC_INIT(/{ - /.*,.*,.*, */{ - s/// - s/[][]//g - s/)$// + /^AC_INIT(\[*/{ + s/// + /^[^,]*,[^,]*,[^,]*,[ []*\([^][ ,)]\)/{ + s//\1/ + s/[],)].*// p q } - s/AC_INIT(\[*// - s/]*,.*// + s/[],)].*// s/^GNU // y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ - s/[^A-Za-z0-9_]/-/g + s/[^abcdefghijklmnopqrstuvwxyz0123456789_]/-/g p } ' |