[devscripts] 01/01: Fix repackaging from tar.bz2 to non-gzip
Joachim Breitner
nomeata at moszumanska.debian.org
Sun Mar 16 10:54:53 UTC 2014
This is an automated email from the git hooks/post-receive script.
nomeata pushed a commit to branch master
in repository devscripts.
commit a727137d502a1667a984ad262acd59825ff4ba46
Author: Joachim Breitner <nomeata at debian.org>
Date: Sun Mar 16 11:47:02 2014 +0100
Fix repackaging from tar.bz2 to non-gzip
It seems that the previous code would ignore $repack_compression and
always call gzip. This improves upon 9a6ba47f8
---
scripts/uscan.pl | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/scripts/uscan.pl b/scripts/uscan.pl
index f685469..5b786ae 100755
--- a/scripts/uscan.pl
+++ b/scripts/uscan.pl
@@ -1454,10 +1454,7 @@ EOF
spawn(exec => ['bunzip2', '-c', "$destdir/$newfile_base"],
to_file => $fname,
wait_child => 1);
- spawn(exec => ['gzip', '-n', '-9'],
- from_file => $fname,
- wait_child => 1);
- unlink "$destdir/$newfile_base";
+ compress_archive("$fname", "$destdir/$newfile_base_compression", $repack_compression);
$newfile_base = $newfile_base_compression;
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/devscripts.git
More information about the devscripts-devel
mailing list