X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fsrc%2Fexiwhat.src;h=a1f748edd570ed75df0955448adcfca2e001adc5;hb=df98a6ff2e70887890690ffbf8a8ad583d7d7e38;hp=2542b01984789671a446a970a497392c80268ce9;hpb=3634fc257bd0667daef14d72005cd87c735bbb24;p=user%2Fhenk%2Fcode%2Fexim.git diff --git a/src/src/exiwhat.src b/src/src/exiwhat.src index 2542b0198..a1f748edd 100644 --- a/src/src/exiwhat.src +++ b/src/src/exiwhat.src @@ -15,6 +15,7 @@ # EXIWHAT_EGREP_ARG # EXIWHAT_MULTIKILL_CMD # EXIWHAT_MULTIKILL_ARG +# RM_COMMAND # PROCESSED_FLAG @@ -29,6 +30,8 @@ # the script in the next Exim rebuild/install. However, it's best to # arrange your build-time configuration file to get the correct values. +rm=RM_COMMAND + # Some operating systems have a command that finds processes that match # certain conditions (by default usually those running specific commands) # and sends them signals. If such a command is defined for your OS, the @@ -52,6 +55,13 @@ signal=EXIWHAT_KILL_SIGNAL # See if this installation is using the esoteric "USE_NODE" feature of Exim, # in which it uses the host's name as a suffix for the configuration file name. +if test "x$1" = x--version +then + echo "`basename $0`: $0" + echo "build: EXIM_RELEASE_VERSIONEXIM_VARIANT_VERSION" + exit 0 +fi + if [ "CONFIGURE_FILE_USE_NODE" = "yes" ]; then hostsuffix=.`uname -n` fi @@ -103,7 +113,7 @@ fi # Now do the job. -/bin/rm -f ${log} +$rm -f ${log} if [ -f ${log} ]; then echo "** Failed to remove ${log}" exit 1