X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/17792b53d16f2061cb7350001e81c995bac6a9eb..107077d7fd6736711bf5cd980221723401d37c51:/src/src/exinext.src diff --git a/src/src/exinext.src b/src/src/exinext.src index 80d636972..1a1d88f6b 100644 --- a/src/src/exinext.src +++ b/src/src/exinext.src @@ -1,7 +1,7 @@ #! /bin/sh -# $Cambridge: exim/src/src/exinext.src,v 1.4 2009/10/30 15:14:04 nm4 Exp $ -# Copyright (c) 1996-2004 University of Cambridge. +# Copyright (c) The Exim Maintainers 2023 +# Copyright (c) University of Cambridge, 1995 - 2007 # See the file NOTICE for conditions of use and distribution. # Except when they appear in comments, the following placeholders in this @@ -26,6 +26,13 @@ config= eximmacdef= exim_path= +if [ "x$1" = x--version -o "x$1" = x-v ] +then + echo "`basename $0`: $0" + echo "build: EXIM_RELEASE_VERSIONEXIM_VARIANT_VERSION" + exit 0 +fi + if expr -- $1 : '\-' >/dev/null ; then while expr -- $1 : '\-' >/dev/null ; do if [ "$1" = "-C" ]; then @@ -116,6 +123,9 @@ fi perl - $exim_path "$eximmacdef" $argone $spool_directory $qualify_domain $config <<'End' + # We don't import anything, but guard against future changes which do + BEGIN { pop @INC if $INC[-1] eq '.' }; + # Name the arguments $exim = $ARGV[0];