开发者

How can I get the correct user in a mail filter in CVS loginfo?

开发者 https://www.devze.com 2022-12-22 10:01 出处:网络
I have a single CVS user (cvs) on my Unix box and I map all CVS users to this user via CVSROOT/passwd. When I do this, all mails are sent by the user cvs. I\'d like to show the 开发者_JAVA技巧name of

I have a single CVS user (cvs) on my Unix box and I map all CVS users to this user via CVSROOT/passwd. When I do this, all mails are sent by the user cvs. I'd like to show the 开发者_JAVA技巧name of the committer in the mail subject (or even as the sender of the mail).

Is there any other way than creating a real Unix user?


CVS will put the commit user name into the variable $USER which you can use in the file loginfo to call your mail filter.

0

精彩评论

暂无评论...
验证码 换一张
取 消