Date: Wed, 8 Feb 2006 17:43:50 +0300 From: Dmitry Marakasov <amdmi3@mail.ru> To: Shaun Amott <shaun@inerd.com> Cc: freebsd-ports@freebsd.org Subject: Re: USE_DOS2UNIX may be more powerful? Message-ID: <20060208144350.GA16517@hades.panopticon> In-Reply-To: <20060208134210.GA688@picobyte.net> References: <20060207003529.GA32317@hades.panopticon> <43E8A5DD.5000509@vonostingroup.com> <b8a404110602070606s6a0df93ah@mail.gmail.com> <43E8ABB1.5020606@vonostingroup.com> <20060207230510.GA73898@hades.panopticon> <20060208134210.GA688@picobyte.net>
next in thread | previous in thread | raw e-mail | index | archive | help
* Shaun Amott (shaun@inerd.com) wrote: > > But, also now we can use > > > > USE_DOS2UNIX= *.c *.h > > > > To convert all *.c and *.h files in all subdirectories under ${WRKSRC}. > > For the case when we have many directories and cannot use > > USE_DOS2UNIX=YES as it'll corrupt sometring, I think it's the best > > solution. > > But what if you need to convert just the files in the root directory of > $WRKSRC, without descending into subdirectories? USE_DOS2UNIX= /*.c /*.h > Perhaps something like this would be better: > > USE_DOS2UNIX=yes > DOS2UNIX_GLOBS=*.c *.h > > That would then maintain existing behaviour, and still provide the > extended functionality. That makes it imposible to use globs along with find patterns. -- Best regards, Dmitry mailto:amdmi3@mail.ru
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060208144350.GA16517>