X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/059ec3d9952740285fb1ebf47961b8aca2eb1b4a..ff7829398d74e67f1c1f40339a772fd76708e5ac:/src/src/convert4r3.src diff --git a/src/src/convert4r3.src b/src/src/convert4r3.src index b972f739f..d0b94d15e 100755 --- a/src/src/convert4r3.src +++ b/src/src/convert4r3.src @@ -1,5 +1,4 @@ -#! PERL_COMMAND -w -# $Cambridge: exim/src/src/convert4r3.src,v 1.1 2004/10/07 10:39:01 ph10 Exp $ +#! PERL_COMMAND # This is a Perl script that reads an Exim run-time configuration file and # checks for settings that were valid prior to release 3.00 but which were @@ -8,6 +7,20 @@ # 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 #