[exim-cvs] Print tarball names in debug mode too

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Exim Git Commits Mailing List
Ημερομηνία:  
Προς: exim-cvs
Αντικείμενο: [exim-cvs] Print tarball names in debug mode too
Gitweb: http://git.exim.org/exim.git/commitdiff/03b764689e5b95d83f1867ca1efc15e1ecd6d5c9
Commit:     03b764689e5b95d83f1867ca1efc15e1ecd6d5c9
Parent:     7cafba52a5780feb16721d637aecc24243811e4e
Author:     Todd Lyons <tlyons@???>
AuthorDate: Thu Oct 3 16:35:05 2013 -0700
Committer:  Todd Lyons <tlyons@???>
CommitDate: Thu Oct 3 16:35:05 2013 -0700


    Print tarball names in debug mode too
---
 release-process/scripts/mk_exim_release.pl |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)


diff --git a/release-process/scripts/mk_exim_release.pl b/release-process/scripts/mk_exim_release.pl
index 395cdd2..81091fb 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}")
         }
     }