[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ANN: cabal-debian et el

On Sat, Apr 04, 2009 at 09:17:18AM -0500, Jeremy Shaw wrote:
>> It seems to me that cabal-debian should default to using $DEBEMAIL (or
>> $EMAIL), as other scripts do (e.g. bts(1)).
> It already does, this is the code:
>              return $ do fullname <- lookup "DEBFULLNAME" env `mplus` lookup "NAME" env
>                          email    <- lookup "DEBEMAIL" env `mplus` lookup "EMAIL" env
>                          return (fullname ++ " <" ++ email ++ ">")
> I have no explaination as to why it did not work for you -- it works for me :)

If I set NAME=silly, then it works.

I do not set $NAME nor $DEBFULLNAME.  I expect that to be gotten from
the GECOS field in nss (i.e. /etc/passwd).

AFAIK $EMAIL can be "foo <bar@example.net>" instead of just
"bar@example.net", but due to assumptions like the above, I don't
currently do that.

Reply to: