[exim-cvs] exim_msgdate: version output does not require an …

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Exim Git Commits Mailing List
Data:  
Para: exim-cvs
Asunto: [exim-cvs] exim_msgdate: version output does not require an exim config
Gitweb: https://git.exim.org/exim.git/commitdiff/c5722bc5a8df130f4733ca3c4398ae51cc7842e0
Commit:     c5722bc5a8df130f4733ca3c4398ae51cc7842e0
Parent:     bd0f95ded48f560cb1f9f8b808e1abaabeb4d4ec
Author:     Andrew Aitchison <exim@???>
AuthorDate: Sun Mar 5 12:47:17 2023 +0000
Committer:  Jeremy Harris <jgh146exb@???>
CommitDate: Sun Mar 5 12:49:10 2023 +0000


    exim_msgdate: version output does not require an exim config
---
 src/src/exim_msgdate.src | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)


diff --git a/src/src/exim_msgdate.src b/src/src/exim_msgdate.src
index c591f306e..bfb5bc81e 100755
--- a/src/src/exim_msgdate.src
+++ b/src/src/exim_msgdate.src
@@ -56,7 +56,7 @@ my $localhost_number; # An Exim config value
my $nolocalhost_number;

 my $p_name    = basename $0;
-my $p_version = "20230203.0";
+my $p_version = "20230304.0";
 my $p_cp      = <<EOM;
  Copyright (c) 2023 The Exim Maintainers 2023


@@ -125,9 +125,10 @@ GetOptions (
        );
     },
     'version'  => sub {
-    print basename($0), ": $0\n";
-    print "build: EXIM_RELEASE_VERSIONEXIM_VARIANT_VERSION\n";
+    print basename($0), ": $p_version $0\n";
+    print "exim build: EXIM_RELEASE_VERSIONEXIM_VARIANT_VERSION\n";
     print "perl(runtime): $]\n";
+    exit 0;
     },
 ) or pod2usage;
 # die("Error in command line arguments\n");