git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Logging: add I= element to transport-defer lines. Bug 2675
[exim.git]
/
src
/
src
/
transport-filter.src
diff --git
a/src/src/transport-filter.src
b/src/src/transport-filter.src
index 3f250e6578aa1a40a30a3e6990761bee87976930..db00d877f8154cb43cf2524bf461e17eae86704f 100644
(file)
--- a/
src/src/transport-filter.src
+++ b/
src/src/transport-filter.src
@@
-13,6
+13,14
@@
use warnings;
BEGIN { pop @INC if $INC[-1] eq '.' };
use warnings;
BEGIN { pop @INC if $INC[-1] eq '.' };
+use File::Basename;
+
+if ($ARGV[0] eq '--version') {
+ print basename($0) . ": $0\n",
+ "build: EXIM_RELEASE_VERSIONEXIM_VARIANT_VERSION\n",
+ "perl(runtime): $]\n";
+ exit 0;
+}
# If the filter is called with any arguments, insert them into the message
# as X-Arg headers, just to verify what they are.
# If the filter is called with any arguments, insert them into the message
# as X-Arg headers, just to verify what they are.