On Tue, Jun 28, 2011 at 9:19 PM, Marina Brown <[email protected]> wrote:
> Hi All:
>
> I have been setting up werc for a website this week.

Cool.

> I tried to use bin/aux/adduser.rc and it did not work.

This is strange, I use it quite often for cat-v.org.

> I am using werc-1.4.0 and the latest plan9ports from hg. OS was linux
> and freebsd. ...one test site, one real site.
>
> Here is the patch i did to make it work.
>
> --- werc-1.4.0/bin/aux/addwuser.rc      2011-06-28 02:33:37.000000000 +0000
> +++ werc-1.4.0-dist/bin/aux/addwuser.rc 2010-06-11 04:28:39.000000000 +0000
> @@ -19,7 +19,7 @@
>  shift
>  user_groups=$*
>
> -if(~ $user_name '' || ~ $user_pass '')
> +if(~ $"user_name '' || ~ $"user_pass '')

This is very, very strange, is this a reversed diff? Because looking
at http://hg.cat-v.org/werc/file/776e96664b3b/bin/aux/addwuser.rc it
seems the code has always used the $", which should be quite safe.

uriel

-- 
You received this message because you are subscribed to the Google Groups 
"werc" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/werc9?hl=en.

Reply via email to