diff options
author | Jim Meyering <meyering@redhat.com> | 2008-12-02 17:29:25 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2008-12-08 18:45:54 +0100 |
commit | 9ab3d34f0da915fe21691eeecfe4ae69ce6f61a6 (patch) | |
tree | 4082d2e3a9c34c457d44aefc096c89f64030b94c /build-aux/announce-gen | |
parent | 279193baa28766dc01c1d1f7605841cd420f6410 (diff) | |
download | gnulib-9ab3d34f0da915fe21691eeecfe4ae69ce6f61a6.tar.gz |
announce-gen (get_tool_versions): Accept .xz tarballs.
Diffstat (limited to 'build-aux/announce-gen')
-rwxr-xr-x | build-aux/announce-gen | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/build-aux/announce-gen b/build-aux/announce-gen index 78ca62551d..d1a4b255ae 100755 --- a/build-aux/announce-gen +++ b/build-aux/announce-gen @@ -1,7 +1,7 @@ #!/usr/bin/perl -w # Generate a release announcement message. -my $VERSION = '2008-10-10 05:12'; # UTC +my $VERSION = '2008-12-02 16:28'; # UTC # The definition above must lie within the first 8 lines in order # for the Emacs time-stamp write hook (at end) to update it. # If you change this file with Emacs, please let the write hook @@ -429,11 +429,13 @@ sub get_tool_versions ($$) my $tgz = "$my_distdir.tar.gz"; my $tbz = "$my_distdir.tar.bz2"; my $lzma = "$my_distdir.tar.lzma"; + my $xz = "$my_distdir.tar.xz"; + my $xd = "$package_name-$prev_version-$curr_version.xdelta"; - my @tarballs = grep {-f $_} ($tgz, $tbz, $lzma); + my @tarballs = grep {-f $_} ($tgz, $tbz, $lzma, $xz); @tarballs - or die "$ME: none of $tgz, $tbz, or $lzma were found\n"; + or die "$ME: none of $tgz, $tbz, $lzma or $xz were found\n"; my @sizable = @tarballs; -f $xd and push @sizable, $xd; |