X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fsrc%2Ftransport-filter.src;h=db00d877f8154cb43cf2524bf461e17eae86704f;hb=8ff2ba119ba654e9238f157f94bf10ed640ed877;hp=2558bd7ec102bfe273c72df5133727c52e25f058;hpb=8c4f17b33b068547ee8791c89f32d2453e666096;p=user%2Fhenk%2Fcode%2Fexim.git diff --git a/src/src/transport-filter.src b/src/src/transport-filter.src index 2558bd7ec..db00d877f 100644 --- a/src/src/transport-filter.src +++ b/src/src/transport-filter.src @@ -12,6 +12,15 @@ ############################################################################# 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.