+# Compatibility gross-ness for non-POSIX systems
+if [ -z "$EXIM_REVERSION_ADJUSTED" ]
+then
+ SHELL=/bin/sh
+ EXIM_REVERSION_ADJUSTED=yes
+ export SHELL EXIM_REVERSION_ADJUSTED
+ # Solaris:
+ if [ -x /usr/xpg4/bin/sh ]
+ then
+ PATH="/usr/xpg4/bin:$PATH"
+ SHELL=/usr/xpg4/bin/sh
+ export PATH SHELL
+ fi
+ # Irix:
+ _XPG=1 ; export _XPG
+ #
+ exec "$SHELL" "$0" "$@"
+fi
+