From: Todd Lyons Date: Thu, 3 Oct 2013 23:35:05 +0000 (-0700) Subject: Print tarball names in debug mode too X-Git-Tag: exim-4_82_RC3~11 X-Git-Url: https://git.exim.org/exim.git/commitdiff_plain/03b764689e5b95d83f1867ca1efc15e1ecd6d5c9 Print tarball names in debug mode too --- diff --git a/release-process/scripts/mk_exim_release.pl b/release-process/scripts/mk_exim_release.pl index 395cdd2b0..81091fb9f 100755 --- a/release-process/scripts/mk_exim_release.pl +++ b/release-process/scripts/mk_exim_release.pl @@ -334,15 +334,15 @@ sub create_tar_files { foreach my $dir ( glob( File::Spec->catdir( $pkgdirs, ( 'exim*-' . $context->{release} ) ) ) ) { my $dirname = ( File::Spec->splitdir($dir) )[-1]; if ($context->{compressors}{gzip}) { - print "Creating: ${pkgs}/${dirname}.tar.gz\n" if ($verbose); + print "Creating: ${pkgs}/${dirname}.tar.gz\n" if ($verbose || $debug); system("$tar cf ${pkgs}/${dirname}.tar.gz --gzip -C ${pkgdirs} ${dirname}") } if ($context->{compressors}{bzip2}) { - print "Creating: ${pkgs}/${dirname}.tar.bz2\n" if ($verbose); + print "Creating: ${pkgs}/${dirname}.tar.bz2\n" if ($verbose || $debug); system("$tar cf ${pkgs}/${dirname}.tar.bz2 --bzip2 -C ${pkgdirs} ${dirname}") } if ($context->{compressors}{lzip}) { - print "Creating: ${pkgs}/${dirname}.tar.lz\n" if ($verbose); + print "Creating: ${pkgs}/${dirname}.tar.lz\n" if ($verbose || $debug); system("$tar cf ${pkgs}/${dirname}.tar.lz --lzip -C ${pkgdirs} ${dirname}") } }