diff options
author | Thorvald Natvig <slicer@users.sourceforge.net> | 2007-11-08 04:48:44 +0300 |
---|---|---|
committer | Thorvald Natvig <slicer@users.sourceforge.net> | 2007-11-08 04:48:44 +0300 |
commit | 00e9835f6d1789c7e6bd380c666cb1ca0d7627d5 (patch) | |
tree | b7a4aa436e1a4b33e83c1de6d80b4f6501abecb2 /scripts/release.pl | |
parent | dfa2c0056523369856e99d437880fbc44f92889a (diff) |
More Ubuntu packaging fixes
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@845 05730e5d-ab1b-0410-a4ac-84af385074fa
Diffstat (limited to 'scripts/release.pl')
-rw-r--r-- | scripts/release.pl | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/release.pl b/scripts/release.pl index e4e13779f..89ca8ef1e 100644 --- a/scripts/release.pl +++ b/scripts/release.pl @@ -6,7 +6,7 @@ use Carp; use Switch; use Archive::Tar; use Archive::Zip qw( :ERROR_CODES :CONSTANTS ); -use Compress::Bzip2; +use Compress::Zlib; my %files; my $ver; @@ -65,7 +65,7 @@ while(<F>) { } close(F); -foreach my $dir ('speex','speex/include/speex','speex/libspeex') { +foreach my $dir ('speex','speex/include/speex','speex/libspeex','man') { opendir(D, $dir) or croak "Could not open $dir"; foreach my $f (grep(! /^\./,readdir(D))) { next if ($f =~ /\~$/); @@ -106,8 +106,8 @@ foreach my $file ('LICENSE', sort keys %files) { close(F); } -my $bz=bzopen("mumble-${ver}.tar.bz2", "w"); -$bz->bzwrite($tar->write()); -$bz->bzclose(); +my $gz=gzopen("mumble-${ver}.tar.gz", "w"); +$gz->gzwrite($tar->write()); +$gz->gzclose(); $zip->writeToFileNamed("mumble-${ver}.zip"); |