X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/8c4f17b33b068547ee8791c89f32d2453e666096..d083e3f2af9baf1910a69c1cc4a06a26be99d40c:/src/src/convert4r3.src diff --git a/src/src/convert4r3.src b/src/src/convert4r3.src index 810b3374f..d0b94d15e 100755 --- a/src/src/convert4r3.src +++ b/src/src/convert4r3.src @@ -8,6 +8,19 @@ # It is assumed that the input is a valid Exim configuration file. use warnings; +BEGIN { pop @INC if $INC[-1] eq '.' }; + +use Getopt::Long; +use File::Basename; + +GetOptions( + 'version' => sub { + print basename($0) . ": $0\n", + "build: EXIM_RELEASE_VERSIONEXIM_VARIANT_VERSION\n", + "perl(runtime): $^V\n"; + exit 0; + }, +); ################################################## # Analyse one line #