Update copyright year to 2018
[exim.git] / src / src / exiqsumm.src
index c8b522ef503bd0a97e8bab79e35ac12d2d4682fe..551ca97ca669eb781ef06c2b6a85c4eb3d048faa 100644 (file)
 # Slightly modified sub from eximstats
 
 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;
+}
 
 sub print_volume_rounded {
 my($x) = pop @_;