X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/8c4f17b33b068547ee8791c89f32d2453e666096..da40b1ec6b91ccd3faa4def9e5cff05ec51ca573:/src/src/exiqsumm.src diff --git a/src/src/exiqsumm.src b/src/src/exiqsumm.src index c8b522ef5..67772f5e8 100644 --- a/src/src/exiqsumm.src +++ b/src/src/exiqsumm.src @@ -42,6 +42,15 @@ # Slightly modified sub from eximstats use warnings; +BEGIN { pop @INC if $INC[-1] eq '.' }; +use File::Basename; + +if (@ARGV && $ARGV[0] eq '--version') { + print basename($0) . ": $0\n", + "build: EXIM_RELEASE_VERSIONEXIM_VARIANT_VERSION\n", + "perl(runtime): $]\n"; + exit 0; +} sub print_volume_rounded { my($x) = pop @_;