Date: Fri, 5 Jun 2009 20:38:45 +0300 From: Vitaly Magerya <vmagerya@gmail.com> To: Eitan Adler <eitanadlerlist@gmail.com> Cc: freebsd-ports@freebsd.org Subject: Re: Automatically generate symlinks for virtual categories. Message-ID: <accd96830906051038m47104ec1oa79c938949e5ca3e@mail.gmail.com> In-Reply-To: <4A2946F4.2010501@gmail.com> References: <4A28590D.101@gmail.com> <accd96830906050419k7ef2469tb1bb22aad4956fe0@mail.gmail.com> <accd96830906050556m660e63cw3c14edfb7f526796@mail.gmail.com> <4A2946F4.2010501@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> I'll added your script to mine as a option. Yeah, I've done that too in the mean time, take a look: [1]. In that version both traverse algorithms share common linking code, it seems more maintainable this way. (I've added -w and -i to catch up with you, but the code overall is quite different, sorry about that). There's a question about the test for main category dir: if you use -w to specify a directory different than that of -p, a simlink "$whereto/category/portname-category" will be created. Maybe "$whereto/category/portname" would be the right thing in this case? [1] http://tx97.net/pub/files/auto-symlink-virtual.sh
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?accd96830906051038m47104ec1oa79c938949e5ca3e>