[PATCH 03/13] dispatcher: use $file instead of $mbox

Artem Bityutskiy dedekind1 at gmail.com
Fri Mar 21 09:16:16 PDT 2014


On Thu, 2014-03-20 at 16:37 -0700, Jacob Keller wrote:
> diff --git a/email/aiaiai-email-dispatcher-helper b/email/aiaiai-email-dispatcher-helper
> index 9627182326fc..c0c188e50626 100755
> --- a/email/aiaiai-email-dispatcher-helper
> +++ b/email/aiaiai-email-dispatcher-helper
> @@ -99,8 +99,8 @@ tmpdir="$(mktemp -dt "$PROG.XXXX")"
>  # Run the dispatcher hook
>  if [ -n "$cfg_dispatch_hook" ]; then
>  	hook="$(readlink -fv -- "$cfg_dispatch_hook")"
> -	verbose "Running \"$hook\" on \"$mbox\""
> -	$hook "$mbox" "$cfgfile"
> +	verbose "Running \"$hook\" on \"$file\""
> +	$hook "$file" "$cfgfile"

But "$file" is not even defined at this point. It is defined later.

-- 
Best Regards,
Artem Bityutskiy




More information about the aiaiai mailing list